Closed randallwhitman closed 6 years ago
OGCGeometry ogcGeometry = GeometryUtils.geometryFromEsriShape(geomref);
OGCGeometry centroid = ogcGeometry.centroid();
ST_Centroid.java:[36,36] error: cannot find symbol
Not seeing the difference from - https://github.com/Esri/geometry-api-java/pull/169/files#diff-f11216079fddc7f9bfdf629e2b746d44R80
I do have the dependency on Geometry-2.1 :
<geometry.version>2.1.0</geometry.version>
<dependency>
<groupId>com.esri.geometry</groupId>
<artifactId>esri-geometry-api</artifactId>
<version>${geometry.version}</version>
</dependency>
Perhaps in the category of too obvious to notice .. Centroid is on Geometry master after rather than before Geometry-2.1.0 release.
https://github.com/Esri/spatial-framework-for-hadoop/wiki/ST_Geometry-in-Hive-versus-SQL#st_geometry-functions-with-different-behavior https://github.com/Esri/geometry-api-java/pull/169