Recently our team is migrating to java>8. I know GeoTools supports Java 11. Tried to run the project with java 11 and i am getting this compile error:
Error:(70, 71) java: incompatible types: org.locationtech.jts.geom.Geometry cannot be converted to com.vividsolutions.jts.geom.Geometry After some research found out that I need to change all references to Geometry, Polygon etc, from com.vividsolutions.jts to org.locationtech.jts . (source: https://github.com/locationtech/jts/blob/master/MIGRATION.md) However, after changing these looks like there are some classes in GeoTools that still expect org.locationtech.jts . Specifically: org.geotools.geometry.jts.JTS::transform(Coordinate source, Coordinate dest, MathTransform transform). Does this means that GeoTools has not yet done JTS upgrade, or there is there any replacement for this class?
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users