Skip to content
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

Provide API to solve JTS side location conflict #244

jiayuasu opened this issue Jun 19, 2018 · 0 comments


Copy link

commented Jun 19, 2018

Actual behavior

Sometimes GeoSpark may report com.vividsolutions.jts.geom.TopologyException: side location conflict [ (-135.9946826650487, 68.95727979208766, NaN) ].

GeoSpark internally uses JTS library to calculate the shapes of geometries. As specified on JTS website (, the reason of TopologyException is that the input coordinates have too high precision.
If this is the case, GeoSpark currently doesn't have the API to reduce the coordinate precision, unfortunately.


GeoSpark version = All till 1.1.3

Apache Spark version = All

JRE version = All

API type = All

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.