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

Spatial SQL Support #1307

Open
alxmrs opened this issue Feb 19, 2024 · 1 comment
Open

Spatial SQL Support #1307

alxmrs opened this issue Feb 19, 2024 · 1 comment
Labels
enhancement New feature or request needs triage Awaiting triage by a dask-sql maintainer

Comments

@alxmrs
Copy link

alxmrs commented Feb 19, 2024

Is your feature request related to a problem? Please describe.
I have a few geospatial datasets and am using geopandas-dask with them. They include geometry and other spatial types (see discussion in #7). I would like to use SQL syntax to express a left outer join between these two datasets, similar to how I would write a PostGIS query. I’m addition to types, I’d like to use geospatial operations, like intersection.

E.g.: the toy example in this documentation. https://geopandas.org/en/stable/gallery/spatial_joins.html

I wish I could trade out a PostGIS Query for one in Dask-SQL.

Describe the solution you'd like
When both dask-sql and geopandas-dask are installed, users can use all of Apache Calcite’s Spatial features.

https://calcite.apache.org/docs/spatial.html

dask-sql would allow this SQL syntax and would translate operations to geopandas-dask ops.

Describe alternatives you've considered
I can call the geopandas-dask functions directly. But, I’m trying to serve users who only know SQL.

Additional context
I thing I can replace using Google Earth Engine with Dask via integrations like these.

@alxmrs alxmrs added enhancement New feature or request needs triage Awaiting triage by a dask-sql maintainer labels Feb 19, 2024
@beckermr
Copy link

See also this one: #138

A lot of the geospatial items can be used with astronomical datasets as well I am betting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage Awaiting triage by a dask-sql maintainer
Projects
None yet
Development

No branches or pull requests

2 participants