You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error: value centroid is not a member of com.esri.core.geometry.Polygon #183
Centroid is added to master more recently than v2.1 of Geometry. Try building 2.2.0-SNAPSHOT in the meantime, then use v2.2.0 once released.
[Btw, I use the Geometry library from Scala, which works fine.]
changed the title [-]error: value centroid is not a member of com.esri.core.geometry.Polygo[/-][+]error: value centroid is not a member of com.esri.core.geometry.Polygon[/+]on Jun 29, 2018
Activity
stolstov commentedon Jun 27, 2018
Here is how to do this:
Point2D centroid = OperatorCentroid2D.local().execute(polygone, null);randallwhitman commentedon Jun 27, 2018
Centroid is added to master more recently than v2.1 of Geometry. Try building 2.2.0-SNAPSHOT in the meantime, then use v2.2.0 once released.
[Btw, I use the Geometry library from Scala, which works fine.]
bebertpalu commentedon Jun 27, 2018
ok thanks you
[-]error: value centroid is not a member of com.esri.core.geometry.Polygo[/-][+]error: value centroid is not a member of com.esri.core.geometry.Polygon[/+]randallwhitman commentedon Jul 2, 2018
https://github.com/Esri/geometry-api-java/releases/tag/v2.2.0
https://mvnrepository.com/artifact/com.esri.geometry/esri-geometry-api/2.2.0