Skip to content

Commit c856914

Browse files
authored
Add sections about how to use GeoAPI in the README file. (#119)
1 parent 5d06d56 commit c856914

1 file changed

Lines changed: 34 additions & 2 deletions

File tree

README.md

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ It is designed to be compatible with `proj.4` parameters and derives some of its
55

66
Proj4J is a project in the [LocationTech](http://www.locationtech.org) working group of the Eclipse Foundation.
77

8-
![LocationTech](locationtech_mark.png)
8+
![LocationTech](locationtech_mark.png)
99

1010
## User Guide
1111

1212
Proj4J artifacts are available on maven central.
1313

14-
**!Important!** As of `1.2.2` version, `proj4-core` contains no EPSG Licensed files.
14+
**!Important!** As of `1.2.2` version, `proj4-core` contains no EPSG Licensed files.
1515
In order to make proj4j properly operate, it makes sense to consider `proj4-epsg` dependency usage.
1616

1717
### Using Proj4J with Maven
@@ -46,6 +46,25 @@ To include `Proj4J-EPSG` in a Maven project, add a dependency block like the fol
4646
```
4747
where `{latest version}` refers to the version indicated by the badge above.
4848

49+
#### Using Proj4j with GeoAPI
50+
51+
`Proj4j-GeoAPI` module provides wrappers for using Proj4J behind [GeoAPI](https://www.geoapi.org/) interfaces.
52+
GeoAPI is a set of Java interfaces derived from OGC/ISO standards
53+
for using different implementations of metadata and referencing services through a standard API.
54+
To include the module in a Maven project, add a dependency block like the following:
55+
```xml
56+
<properties>
57+
<proj4j.version>{latest version}</proj4j.version>
58+
</properties>
59+
<dependency>
60+
<groupId>org.locationtech.proj4j</groupId>
61+
<artifactId>proj4j-geoapi</artifactId>
62+
<version>${proj4j.version}</version>
63+
</dependency>
64+
```
65+
where `{latest version}` refers to the version indicated by the badge above.
66+
Usage examples are available on the [GeoAPI site](https://www.geoapi.org/java/examples/usage.html).
67+
4968
### Using Proj4J with Gradle
5069

5170
To include Proj4J in a Gradle project, add a dependency block like the following:
@@ -68,6 +87,19 @@ To include `Proj4J-EPSG` in a Gradle project, add the following line to the depe
6887
```
6988
where `{latest version}` refers to the version indicated by the badge above.
7089

90+
#### Using Proj4j with GeoAPI
91+
92+
`Proj4j-GeoAPI` module provides wrappers for using Proj4J behind [GeoAPI](https://www.geoapi.org/) interfaces.
93+
GeoAPI is a set of Java interfaces derived from OGC/ISO standards
94+
for using different implementations of metadata and referencing services through a standard API.
95+
To include the module in a Gradle project, add the following line to the dependency block:
96+
97+
```
98+
implementation 'org.locationtech.proj4j:proj4j-geoapi:{latest version}'
99+
```
100+
where `{latest version}` refers to the version indicated by the badge above.
101+
Usage examples are available on the [GeoAPI site](https://www.geoapi.org/java/examples/usage.html).
102+
71103
### Basic Usage
72104

73105
The following examples give a quick intro on how to use Proj4J in common

0 commit comments

Comments
 (0)