-
Notifications
You must be signed in to change notification settings - Fork 47
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
MultiPolygon not parsing although appearing to be valid #26
Comments
I can't reproduce this error. Test code returns successfully, no errors.
|
I can confirm that the JSON file above appears to be valid. In addition to running the script @martinburch shared, I inspected the data with a JS interpreter:
This produced the following output:
I'll note that the tenth polygon (i.e. If you have an exception, it should be possible to analyze the stack trace and determine exactly what data was passed to the LinearRing constructor via |
Hello
I am having an issue parsing the following GeoJSON ...
https://gist.github.com/sptdigital/f0b7102bae5e9d72c3845b406c323951
It returns the error message
LinearRing requires at least four positions
, even though my LinearRings are compliant with the latest version of the GeoJson standard as far as I can see.I have no issues using this GeoJson anywhere outside of this package.
Could you possibly point me in the right direction please?
Thanks,
Ally
The text was updated successfully, but these errors were encountered: