Skip to content
Updated Intersection Matrix Calculation (markdown) authored by eswiss's avatar eswiss
...@@ -87,6 +87,17 @@ E ∩ B = .false ...@@ -87,6 +87,17 @@ E ∩ B = .false
E ∩ E = 2 E ∩ E = 2
If the order of the two geometries is reversed, the intersection matrix would be the transpose of the above. If the order of the two geometries is reversed, the intersection matrix would be the transpose of the above.
The IM for a MultiPolygon and a geometry of dimension .zero, in that order, are
I ∩ I = 0, if a point intersects the interior of the MultiPolygon, else .false
I ∩ B = .false
I ∩ E = 2
B ∩ I = 0, if a point intersects the MultiPolygon boundary, else .false
B ∩ B = .false
B ∩ E = 1
E ∩ I = 0, if at least one point lies outside the MultiPolygon, else .false
E ∩ B = .false
E ∩ E = 2
If the order of the two geometries is reversed, the intersection matrix would be the transpose of the above.
**The dimension of the intersection of two geometries, both of which are dimension .one, is either .zero, .one, or .false** **The dimension of the intersection of two geometries, both of which are dimension .one, is either .zero, .one, or .false**
... ...
......