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

Exported GeoJSON polygons do not have closed rings #22

Closed
patrickbr opened this issue Dec 9, 2024 · 0 comments
Closed

Exported GeoJSON polygons do not have closed rings #22

patrickbr opened this issue Dec 9, 2024 · 0 comments

Comments

@patrickbr
Copy link
Member

patrickbr commented Dec 9, 2024

If the entire result is exported via the "Export as GeoJSON" button, then polygons do not form closed rings. This is because the WKT parser in Geo.h explicitly drops equivalent start and end points from parsed rings to safe some memory, but the GeoJSON printer does not re-add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant