Skip to content

Commit

Permalink
use correct version for this year.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasbaumh committed Jan 10, 2022
1 parent 5c90330 commit 96441de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ It is originally based on [postgis-java](https://github.com/postgis/postgis-java
* Clean up code to basically only work on [WKB](https://en.wikipedia.org/wiki/Well-known_text#Well-known_binary)/EWKB implementations to reduce code duplication and focus on the actual database format
* Support for the latest PostgreSQL and PostGIS versions
* Recommended are PostgreSQL 14 and PostGIS 3.2.0
* Supported are versions starting from PostgreSQL 9.6 and PostGIS versions 2.3
* Supported are versions starting from PostgreSQL 9.6 and PostGIS 2.3
* Support for JDK 11+ (there is an older [branch for JDK 8](https://github.com/sebasbaumh/postgis-java-ng/tree/jdk8))
* The license is still LGPL

Expand All @@ -45,10 +45,12 @@ There is a Maven artifact in the official Maven repository, so just add this to
<dependency>
<groupId>io.github.sebasbaumh</groupId>
<artifactId>postgis-java-ng</artifactId>
<version>21.0.0</version>
<version>22.0.0</version>
</dependency>
```

The version reflects the year of the release, e.g. 22.0.0 is a version released in 2022.

The API differs a bit from [postgis-java](https://github.com/postgis/postgis-java) with the main point being a different namespace (`io.github.sebasbaumh.postgis`) as publishing a project to Maven Central requires to own that namespace.
In addition the class structure is a bit different (see below) to support arc geometries and reduce boilerplate code, but you should be able to adapt to it easily.
The implementations of the parser and writer for the geometries have been heavily reworked to speed up processing and reduce complexity.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<groupId>io.github.sebasbaumh</groupId>
<artifactId>postgis-java-ng</artifactId>
<!-- version for release -->
<version>21.0.1-SNAPSHOT</version>
<version>22.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>PostGIS Java bindings</name>
<description>This project contains Java bindings for using PostGIS geometries coming from a PostgreSQL database.</description>
Expand Down

0 comments on commit 96441de

Please sign in to comment.