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

Spike: How might we best convert GeoJSON to Well Known Text? #1261

Open
LtChae opened this issue Jul 1, 2021 · 0 comments
Open

Spike: How might we best convert GeoJSON to Well Known Text? #1261

LtChae opened this issue Jul 1, 2021 · 0 comments

Comments

@LtChae
Copy link
Contributor

LtChae commented Jul 1, 2021

GeoJSON is a standard for working with geographical data, but it is not well supported by Presto. If we could take geojson and its properties and turn it into tabular data with a column for the geometry in Well Known Text format, it would allow users to take advantage of Presto's powerful geospatial functions for joining and analysis.

Possible Solutions:

  • Adapter to convert the data prior to reaper receiving it
  • Extend Odo to handle this conversion
  • Leverage the new transformations to make the conversion in the pipeline

There is an elixir library for this: https://github.com/bryanjos/geo

As well as a variety of Python ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants