Skip to content

Conversation

@Maxxen
Copy link
Member

@Maxxen Maxxen commented Nov 20, 2025

Context: duckdb/duckdb#19136

This PR adapts spatial to use the new core GEOMETRY type that will be part of DuckDB v1.5. It also introduces some other changes that are planned for v1.5

  • GEOMETRY now defaults to GeoArrow when converting to/from arrow, no need to call register_geoarrow_extensions()
  • ST_Read() has been cleaned up a lot.
    • The spatial_filter and spatial_filter_box options has been removed, DuckDB will now automatically push down bounding-box filters.
    • The sequential_layer_scan option has been removed (its applied automatically for OSM imports internally now)
    • ST_Read will now emit statistics for geometry columns if available, that could potentially help with query planning in the future.
    • ST_Read now emits the special OGC_FID column if available.
  • COPY (...) TO ... (FORMAT GDAL) now uses arrow to pass data to GDAL, which makes it significantly faster to export data out through the different GDAL drivers. More column data types are also supported.

bradh and others added 30 commits August 31, 2025 10:03
It returns a bounding polygon expanded by a specified amount. A common
use case is doing a "near" search on a point.

This is a postgis function, not found by me in OGC MM.

See https://postgis.net/docs/ST_Expand.html
No functional changes.
Setup CI for v1.4 branch,  fix bug in st_distance when processing zero-length segments in polygon rings
Changes GEOS_PREC_NO_TOPO to GEOS_PREC_VALID_OUTPUT in get_gridded() to ensure topological validity during grid snapping operations.
@Maxxen Maxxen merged commit 44ed800 into duckdb:main Nov 21, 2025
10 of 12 checks passed
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.

5 participants