add support for GeoJSON in geospatial functions
See original GitHub issueCurrently, only WKT are supported as serializable/deserializable when converting to Geometry objects. However, the API used by Presto to create Geometries also allows for deserialization from GeoJSON, as well. These should be supported in addition to WKT and binary.
Proposing the addition of:
ST_GeometryFromGeoJSON
- Accepts
JSON
, returnsGEOMETRY_TYPE_NAME
- Accepts
ST_AsGeoJSON
(deserialization)- Accepts
GEOMETRY_TYPE_NAME
, returnsJSON
- Accepts
These are complimentary to the FromText
/AsText
functions, and handle similarly in errors, NULL
, etc.
CC @mbasmanova
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
56. What is GeoJson Data. Adding Geo Spatial ... - YouTube
In this video we will see what is a Geo JSON Data and how to add the Geo Spatial data to store the...
Read more >Spatial analytics with GeoJSON in BigQuery - Google Cloud
BigQuery's geospatial support allows users to import and analyze GEOGRAPHY data types made up of points, lines, and polygons at massive scales ...
Read more >12.17.11 Spatial GeoJSON Functions
This section describes functions for converting between GeoJSON documents and spatial values. GeoJSON is an open standard for encoding ...
Read more >GeoJSON
GeoJSON is a format for encoding a variety of geographic data structures. ... GeoJSON supports the following geometry types: Point , LineString ,...
Read more >Geospatial and GeoJSON location data in Azure Cosmos DB
How can I query spatial data in Azure Cosmos DB in SQL and LINQ? ... Azure Cosmos DB supports indexing and querying of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue was closed because the OP ended up not needing the functionality, so we didn’t have a good use case for it. Interoperability with Mongo is a compelling case. We can definitely put this in the queue.
ok, I guess it is tracked under #12478…