PyGEOSSTRTreeIndex.
valid_query_predicates
Returns valid predicates for the used spatial index.
Set of valid predicates for this spatial index.
Examples
>>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(0, 0), Point(1, 1)]) >>> s.sindex.valid_query_predicates {'contains', 'crosses', 'covered_by', None, 'intersects', 'within', 'touches', 'overlaps', 'contains_properly', 'covers'}