geopandas.sindex.RTreeIndex.valid_query_predicates

property RTreeIndex.valid_query_predicates

Returns valid predicates for this spatial index.

Returns
set

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', 'intersects', 'within', 'touches', 'overlaps', None, 'covers', 'contains_properly'}