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

Use DuckDB's filesystem for GDAL by default, Handle GDAL errors, Add ST_Union_Agg(), ST_Intersection_Agg(). #126

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Sep 12, 2023

  • We now use DuckDB's filesystem abstractions in all GDAL I/O operations by default. This is pretty huge as ST_Read will now be able to work in WASM as well as in combination with DuckDB's httpfs extension. We still expose GDAL's virtual filesystems though so you can still do e.g. /vsicurl/ if httpfs is not installed.

  • We now also capture GDAL errors and throw DuckDB exceptions instead, no more double-errors being printed in the CLI.

  • We now initialize GDAL once globally regardless of how many attached databases loads the spatial extension. We also just enable the bundled drivers and don't go looking in external directories for loadable plugins.

  • Add ST_Union_Agg/ST_Intersection_Agg aggregate functions based on GEOS. These are not as performant as I would like but should still be useful.

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

Successfully merging this pull request may close these issues.

1 participant