Skip to content

Advance the MEOS commit and read the space splits and asMVTGeom through their out-parameters - #422

Merged
estebanzimanyi merged 2 commits into
MobilityDB:mainfrom
estebanzimanyi:fix/meos-split-out-parameters
Sep 30, 2026
Merged

estebanzimanyi merged 2 commits into
MobilityDB:mainfrom
estebanzimanyi:fix/meos-split-out-parameters

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

Advance the MEOS commit and regenerate the UDF surface

Read the space splits and asMVTGeom through their out-parameters

MEOS returns the fragments of tgeo_space_split and tgeo_space_time_split and
reports whether tpoint_as_mvtgeom has a representation in the tile, handing
the bins, the times and the counts back through out-parameters, as its other
functions returning parallel arrays do. The spaceSplit, spaceTimeSplit and
asMVTGeom functions of the extension read them that way.

Witness: at MEOS 60ed6ea3c8, which the refresh of the generated surface
pins, src/geo/tgeompoint.cpp stops at "'MvtGeom' was not declared in this
scope", "'SpaceTimeSplit' was not declared in this scope" and "'SpaceSplit'
was not declared in this scope", since MEOS no longer declares the three
structs it returned by value. It now compiles.

Measured: the release build against the MEOS headers vcpkg installs at that
commit is clean, and the full test suite passes, 3,058 assertions in 107
test cases, among them 058b_tpoint_split with 11, 058c_tpoint_split_lateral
with 21 and 076_asmvtgeom_geomeasure with 6.

Why: the extension calls MEOS through the declarations of the commit it
pins, and a tile answer that MEOS reports as absent is an absent row.

nhungoc1508 and others added 2 commits September 30, 2026 06:47
MEOS returns the fragments of tgeo_space_split and tgeo_space_time_split and
reports whether tpoint_as_mvtgeom has a representation in the tile, handing
the bins, the times and the counts back through out-parameters, as its other
functions returning parallel arrays do. The spaceSplit, spaceTimeSplit and
asMVTGeom functions of the extension read them that way.

Witness: at MEOS 60ed6ea3c8, which the refresh of the generated surface
pins, src/geo/tgeompoint.cpp stops at "'MvtGeom' was not declared in this
scope", "'SpaceTimeSplit' was not declared in this scope" and "'SpaceSplit'
was not declared in this scope", since MEOS no longer declares the three
structs it returned by value. It now compiles.

Measured: the release build against the MEOS headers vcpkg installs at that
commit is clean, and the full test suite passes, 3,058 assertions in 107
test cases, among them 058b_tpoint_split with 11, 058c_tpoint_split_lateral
with 21 and 076_asmvtgeom_geomeasure with 6.

Why: the extension calls MEOS through the declarations of the commit it
pins, and a tile answer that MEOS reports as absent is an absent row.
@estebanzimanyi
estebanzimanyi merged commit 0096311 into MobilityDB:main Sep 30, 2026
9 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/meos-split-out-parameters branch September 30, 2026 09:35
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.

2 participants