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

Allow WKT (Well Known Text) input for types #8

Open
Rycochet opened this issue Mar 19, 2019 · 1 comment
Open

Allow WKT (Well Known Text) input for types #8

Rycochet opened this issue Mar 19, 2019 · 1 comment

Comments

@Rycochet
Copy link

Currently you have to write your query as a JSON object using GeoJSON, but there's also the WKT format, and the corresponding ST_GeomFromText function - it would need a small test to determine if it should be handling JSON or text, but would give more options to users (I find it easier to remember when testing than the JSON formats).

https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry

@Rycochet Rycochet changed the title Allow WKT input for types Allow WKT (Well Known Text) input for types Mar 19, 2019
@benjie
Copy link
Member

benjie commented Mar 19, 2019

If we can switch to using EWKT on database fetches too, instead of GeoJSON, that’d allow us to expose the M in XYM/XYZM. GeoJSON drops it.

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