Skip to content

Why support WKT? #95

Answered by vincentsarago
eseglem asked this question in Ideas
Jan 28, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

@eseglem thanks for working on this.

As I'm the one who added WKT, I will argue that it's a really useful feature which at the time didn't look like something that would requirement too much work and burden to maintain.

In a sense, you can export a model to dict and json so why not wkt 🤷‍♂️

Using shapely lets you get in and out of WKT or any other format it recognizes via geo_interface and it feels like that is where the focus should stay. The tests around WKT are already using this to make sure our code matches what shapely outputs anyways. Why rebuild something they already do really well?

Shapely is a HUGE library which comes with some C lib, geojson-pydantic has only pydantic has re…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vincentsarago
Comment options

@eseglem
Comment options

eseglem Jan 30, 2023
Maintainer Author

@eseglem
Comment options

eseglem Jan 30, 2023
Maintainer Author

Answer selected by eseglem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants