Skip to main content
Returns a Series of dtype('bool') with value True for each aligned geometry that properly contains other. An object is said to properly contain other if the other object lies entirely within the interior of the object (no shared boundary points). 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 test whether it is properly contained.
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(bool)
This method works in a row-wise manner. It does not check if an element of one GeoSeries contains_properly any element of the other one.The difference from contains is that contains_properly returns False when the other geometry touches the boundary of the object.
See also
  • GeoSeries.contains
  • GeoSeries.within

Examples