Skip to content

feat(berlinmod): route the streaming-form spatial predicates through MEOS (stacks on #19)#20

Closed
estebanzimanyi wants to merge 1 commit into
MobilityDB:feat/parity-tbigint-acoversfrom
estebanzimanyi:feat/berlinmod-meos-predicates
Closed

feat(berlinmod): route the streaming-form spatial predicates through MEOS (stacks on #19)#20
estebanzimanyi wants to merge 1 commit into
MobilityDB:feat/parity-tbigint-acoversfrom
estebanzimanyi:feat/berlinmod-meos-predicates

Conversation

@estebanzimanyi

@estebanzimanyi estebanzimanyi commented May 29, 2026

Copy link
Copy Markdown
Member

Every BerlinMOD spatial predicate evaluates through MEOS via the thin MEOSBridge: within-distance through edwithin_tgeo_geo (the vehicle position as a tgeogpoint instant, metres on the WGS84 spheroid), region containment through eintersects_tgeo_geo, and distances through geog_distance. The pure-Java Haversine and SegmentDistance classes are removed, and the README describes the MEOS-only wiring.

…MEOS

Every BerlinMOD-9 × 3-form spatial predicate evaluates through MEOS via the
thin MEOSBridge wiring rather than in-binding spatial mathematics: the
within-distance predicate builds the vehicle position as a tgeogpoint instant
and calls edwithin_tgeo_geo against the query geography in metres on the WGS84
spheroid (the operator MobilityNebula/Queries/Query1.yaml names); region
containment calls eintersects_tgeo_geo between the point's tgeompoint instant
and the region polygon; pairwise and cumulative distances call geog_distance.
MEOSBridge holds no spatial mathematics of its own — it constructs the MEOS
temporal instants and geographies and delegates the computation to libmeos,
initialising MEOS on the calling task thread. The pure-Java Haversine and
SegmentDistance classes are removed.
@estebanzimanyi estebanzimanyi force-pushed the feat/berlinmod-meos-predicates branch from 70cb274 to 2bb4c19 Compare May 31, 2026 07:49
@estebanzimanyi estebanzimanyi changed the base branch from main to feat/parity-tbigint-acovers June 11, 2026 16:46
@estebanzimanyi

Copy link
Copy Markdown
Member Author

Superseded by the Path-B consolidation: the former 18-deep stack is collapsed into two reviewable topical PRs on top of the merged scaffold — MEOS integration #30 → benchmark #31 — each one clean squashed commit with the generated-facade bulk, dead family-flag profiles, committed target/ artifacts, and invented synthetic corpus removed. Closing as folded into #30/#31.

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