Using postgis I am trying to find polygons that intersect, ignoring polygons that only have a shared boundary (edge).
- ST_Relate(g1, g2, 'T********') is a standard intersection.
- ST_Relate(g1, g2, 'TF*F*****') standard intersection with boundary touching false
An image of what I am trying to achieve (from: http://daniel-azuma.com/articles/georails/part-6):
I am confident in the underlying geometries as they are created inside of postgis by taking the overlay similar to here.
Similar to: postgis st_relate polygon inside another and sharing a boundary though I want to ignore cases where the only topological connection is the boundary.
ST_Relate()
, but I should try. But I'm lazy, so I'd just go withST_Intersects() AND NOT ST_Touches()
... ;-)