Skip to content

Cut a v2.5.x release with updated JTS version #106

@phillipross

Description

@phillipross

Discussed in #103

Originally posted by dannyooi July 19, 2021
I'm working on a project where I need to use this library to parse org.locationtech.jts.geom.Geometry to JtsGeometry and vice versa.
However, I face some errors when I try to use some of the methods:

java.lang.NoSuchMethodError: org.locationtech.jts.geom.Polygon.getExteriorRing()Lorg/locationtech/jts/geom/LineString;
        at org.postgis.jts.JtsBinaryWriter.estimatePolygon(JtsBinaryWriter.java:357)
        at org.postgis.jts.JtsBinaryWriter.estimateBytes(JtsBinaryWriter.java:296)
        at org.postgis.jts.JtsBinaryWriter.writeBinary(JtsBinaryWriter.java:106)
        at org.postgis.jts.JtsBinaryWriter.writeBinary(JtsBinaryWriter.java:113)

I found that the root cause of the issue is because the version of jts-core is not up to date.
As of current version publish in Maven it is using jts-core:1.16.1.
Your latest code is using 1.18.1, but I can't find any latest publish in Maven repository.
May I know is there a plan to officially publish the latest version soon?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions