Closed jiayuasu closed 3 years ago
According to JTS 1.17 release notes: https://github.com/locationtech/jts/releases
This is due to an API change:
Version 1.18 is out now... any updates on this? if its so simple, and i open a pr for it would get merged?
@lockwobr Yes, I also need this package to support 1.18 :-)
just opened a pr to fix this issue.
If use jts2geojson together with JTS 1.17+, the following exception will occur:
java.lang.NoSuchMethodError: org.locationtech.jts.geom.Polygon.getExteriorRing()Lorg/locationtech/jts/geom/LineString; at org.wololo.jts2geojson.GeoJSONWriter.convert(GeoJSONWriter.java:79) at org.wololo.jts2geojson.GeoJSONWriter.write(GeoJSONWriter.java:28)
Can you please support JTS 1.17+?