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
how to convert wkt to geojson? #2057
Comments
Hey @liucaidong, in case you're just looking for a library capable of converting WKT to GeoJSON, there are a few options available: Here's a small notebook demonstrating how to use the wellknown library: With regards to your request adding this feature to turf: To the best of my knowledge, converting between geometry formats is generally not in the scope of the turf.js library. Therefore I'd propose that you just import any of the above libraries into your project in addition to turf. |
Hi @liucaidong As @chrispahm says there are plenty of other libs out there for doing this. Turf is not a library for conversion of data formats so we're not looking at adding functionality along those lines. Thanks |
@chrispahm @rowanwins Thanks a lot, you guys really did me a big favor! |
the latest version of turf, could we consider this utility to be added to our lib?
The text was updated successfully, but these errors were encountered: