PP - disjoint points
POINT(10 10)
POINT(100 100)
true
false
PP - overlapping points
POINT(10 10)
POINT(10 10)
true
true
PL - point on linestring
POINT (340 200)
LINESTRING (80 280, 340 200, 80 80)
true
true
PL - point not on linestring
LINESTRING (100 100, 200 100, 200 200, 100 200, 100 100)
POINT (10 10)
true
false
PA - point inside polygon
POINT (240 160)
POLYGON ((100 260, 340 180, 100 60, 180 160, 100 260))
true
true
mPA - points outside polygon
POLYGON ((200 180, 60 140, 60 260, 200 180))
MULTIPOINT ((140 280), (140 320))
true
false
LL - disjoint linestrings
LINESTRING (40 300, 240 260, 60 160, 140 60)
LINESTRING (140 360, 260 280, 240 120, 120 160)
true
false
LL - crossing linestrings
LINESTRING (40 300, 280 220, 60 160, 140 60)
LINESTRING (140 360, 260 280, 240 120, 120 160)
true
true
AA - overlapping polygons
POLYGON ((60 260, 260 180, 100 60, 60 160, 60 260))
POLYGON ((220 280, 120 160, 300 60, 360 220, 220 280))
true
true
AA - disjoint polygons
POLYGON ((100 320, 60 120, 240 180, 200 260, 100 320))
POLYGON ((420 320, 280 260, 400 100, 420 320))
true
false
mAmA - overlapping multipolygons
MULTIPOLYGON (((40 240, 160 320, 40 380, 40 240)), ((100 240, 240 60, 40 40, 100 240)))
MULTIPOLYGON (((220 280, 120 160, 300 60, 360 220, 220 280)), ((240 380, 280 300, 420 340, 240 380)))
true
true