Skip to content

feat(stbox): bind expandSpace overloads for geometry, tgeompoint, tgeogpoint, tgeometry, tgeography#195

Open
estebanzimanyi wants to merge 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/expandspace-tgeo-overloads
Open

feat(stbox): bind expandSpace overloads for geometry, tgeompoint, tgeogpoint, tgeometry, tgeography#195
estebanzimanyi wants to merge 1 commit into
MobilityDB:mainfrom
estebanzimanyi:feat/expandspace-tgeo-overloads

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

expandSpace(geometry, double), expandSpace(tgeompoint, double), expandSpace(tgeogpoint, double), expandSpace(tgeometry, double), and expandSpace(tgeography, double) each return an STBOX expanded by the given distance on all spatial axes, matching the MobilityDB canonical surface. The implementation converts to STBox via geo_to_stbox or tspatial_to_stbox then delegates to stbox_expand_space — the single kernel stbox_expand_space covers all overloads, exactly as MobilityDB SQL does via cast-to-stbox. Tests for all five new overloads are added to test/sql/stbox.test.

@estebanzimanyi estebanzimanyi force-pushed the feat/expandspace-tgeo-overloads branch from 4c1540c to d2c54c6 Compare June 7, 2026 13:22
…ogpoint, tgeometry, tgeography

expandSpace(geometry, double), expandSpace(tgeompoint, double),
expandSpace(tgeogpoint, double), expandSpace(tgeometry, double), and
expandSpace(tgeography, double) each return an STBOX expanded by the
given distance on all spatial axes. The implementation follows the
MobilityDB canonical pattern: convert to STBox via geo_to_stbox or
tspatial_to_stbox, then delegate to stbox_expand_space. The single
kernel symbol stbox_expand_space covers all overloads. Tests for all
five new overloads are added to test/sql/stbox.test.
@estebanzimanyi estebanzimanyi force-pushed the feat/expandspace-tgeo-overloads branch from d2c54c6 to 0e68ec0 Compare June 7, 2026 13:44
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