Opened 3 months ago

Closed 3 months ago

#5770 closed enhancement (fixed)

Expose GEOS 3.13 RelateNG functionality

Reported by: pramsey Owned by: pramsey
Priority: critical Milestone: PostGIS 3.5.0
Component: postgis Version: master
Keywords: Cc:

Description

RelateNG generated very few new API end points (prepared relate basically the only one) so this update just makes use of the existing API and does not add any new SQL functions.

Some functions that did not support prepared geometry caching now do in the presence of GEOS 3.13: touches, crosses, disjoint, overlaps. Existing non-cached pair-wise tests should be faster in general thanks to shortcuts in RelateNG. Existing cached tests should remain the same, as the code line in GEOS uses the same Prepared* implementations as before (intersects, for example).

Change History (2)

comment:2 by Paul Ramsey <pramsey@…>, 3 months ago

In 907df5f/git:

Support for GEOS 3.13 and RelateNG.
Most functionality remains the same, but new GEOS predicate implementation has a few small changes.

  • Boundary Node Rule relate matrices might be different when using the "multi-valent end point" rule.
  • Relate matrices for situations with invalid MultiPolygons with shared boundaries might be different. Run ST_MakeValid to get valid inputs to feed to the calculation.
  • Zero length LineStrings are treated as if they are the equivalent Point object.

References #5770

comment:3 by pramsey, 3 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.