Opened 3 years ago

Last modified 3 years ago

#4868 new enhancement

ST_InteriorsIntersect(geometry, geometry)

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS GEOS
Component: postgis Version: 2.5.x -- EOL
Keywords: Cc:

Description

For finally naming a relation currently lacking a name (often confused with ST_Overlaps).

The relate pattern for this, as also written in the PostGIS Manual would be T** *** ***

See also #4867 for doing this at the topological level

Change History (5)

comment:1 by mdavis, 3 years ago

Having this as a separate named predicate might allow for some specific optimizations.

comment:2 by mdavis, 3 years ago

This is a more general and useful test than ST_Overlaps (since ST_Overlaps does not detect the case when one geometry is covered by another, and it does not support mixed-dimension inputs).

It is the condition required to determine if a set of Polygons forms a non-overlapping coverage, or if a set of LineStrings forms a non-crossing linear network.

Last edited 3 years ago by mdavis (previous) (diff)

comment:3 by strk, 3 years ago

Exactly, this is where I'm coming from. It's been suggested that we enhance AddTopoGeometryColumn to optionally add an exclusive constraint on areal tables to refuse overlaps for surfaces… (in this case we'd be using the TopoGeometry based one ticketed at #4867)

comment:4 by strk, 3 years ago

Summary: ST_InteriorIntersects(geometry, geometry)ST_InteriorsIntersect(geometry, geometry)

comment:5 by pramsey, 3 years ago

Milestone: PostGIS 3.2.0PostGIS GEOS
Note: See TracTickets for help on using tickets.