Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
phillipross opened this issue Jul 22, 2021 Discussed in #103 · 0 comments · Fixed by #107
Closed

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

phillipross opened this issue Jul 22, 2021 Discussed in #103 · 0 comments · Fixed by #107
Assignees
Labels

Comments

@phillipross
Copy link
Contributor

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?

@phillipross phillipross self-assigned this Jul 22, 2021
@phillipross phillipross changed the title Cut a v2.5 release with updated JTS version Cut a v2.5.x release with updated JTS version Jul 22, 2021
@phillipross phillipross linked a pull request Jul 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant