geopandas.sindex.SpatialIndex.valid_query_predicates#
- property SpatialIndex.valid_query_predicates[来源]#
返回空间索引的有效谓词。
- Returns:
- set
此空间索引的有效谓词集。
示例
>>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(0, 0), Point(1, 1)]) >>> s.sindex.valid_query_predicates {None, "contains", "contains_properly", "covered_by", "covers", "crosses", "dwithin", "intersects", "overlaps", "touches", "within"}