other.
The DE-9IM (Dimensionally Extended nine-Intersection Model) is a topological model
that describes the spatial relationship between two geometries. The result is a
9-character string describing the dimensions of the intersections between the
interior, boundary, and exterior of the two geometries.
The operation works on a 1-to-1 row-wise manner.
Signature
Parameters
GeoSeries or geometric object
required
The GeoSeries (elementwise) or geometric object to relate to.
bool | None (default None)
default:"None"
If True, automatically aligns GeoSeries based on their indices. None defaults to True.
If False, the order of elements is preserved.
Returns
Series(str)
A Series of DE-9IM matrix strings.
This method works in a row-wise manner. It does not check the relationship
of an element of one GeoSeries with all elements of the other one.The DE-9IM string has 9 characters, one for each combination of:
- Interior/Boundary/Exterior of the first geometry
- Interior/Boundary/Exterior of the second geometry
- ‘0’: intersection is a point (dimension 0)
- ‘1’: intersection is a line (dimension 1)
- ‘2’: intersection is an area (dimension 2)
- ‘F’: no intersection (empty set)
GeoSeries.containsGeoSeries.intersectsGeoSeries.within

