-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADBC: add spatial support for DuckDB databases and GeoParquet
- Automate loading duckdb_spatial extension when installed, and when the dataset is DuckDB or Parquet - Retrieve geometries (GEOMETRY type) as OGR geometries - Read GeoParquet metadata to figure out spatial extent, CRS and geometry type per geometry column - Use duckdb_spatial ST_Intersects() for faster spatial filtering (when done with OGRLayer::SetSpatialFilter()), potentially leveraging DuckDB RTree when it is available. - Use GeoParquet bounding box column in complement to above - Passthrough forward of WHERE claused expresse through OGRLayer::SetAttributeFilter()
- Loading branch information
Showing
9 changed files
with
1,053 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.