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

wkt_to_geojson can not convert 3D wkt like 'POLYGON Z' to geojson #3

Open
HWTsang opened this issue Jun 17, 2020 · 1 comment
Open

Comments

@HWTsang
Copy link

HWTsang commented Jun 17, 2020

wkt_to_geojson is wrong with 'POLYGON Z ((30 10, 40 40, 20 40, 10 20, 30 10))'

@MTKnife
Copy link

MTKnife commented Aug 12, 2020

Your example uses 2D coordinates, so it really should throw an error there--but it doesn't work with 3D coordinates, either (e.g. "POINT Z (0 0 12)"). For the record, it also won't handle "M" (or "ZM").

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

2 participants