arcgis.geometry.filters module¶
Functions to filter query results by a spatial relationship with another geometry Used when querying feature layers and imagery layers.
intersects¶
-
filters.
intersects
(sr=None)¶ filters results whose geometry intersects with the specified geometry
contains¶
-
filters.
contains
(sr=None)¶ Returns a feature if its shape is wholly contained within the search geometry. Valid for all shape type combinations.
crosses¶
-
filters.
crosses
(sr=None)¶ Returns a feature if the intersection of the interiors of the two shapes is not empty and has a lower dimension than the maximum dimension of the two shapes. Two lines that share an endpoint in common do not cross. Valid for Line/Line, Line/Area, Multi-point/Area, and Multi-point/Line shape type combinations.
envelope_intersects¶
-
filters.
envelope_intersects
(sr=None)¶ Returns features if the envelope of the two shapes intersects.
index_intersects¶
-
filters.
index_intersects
(sr=None)¶ Returns a feature if the envelope of the query geometry intersects the index entry for the target geometry.
overlaps¶
-
filters.
overlaps
(sr=None)¶ Returns a feature if the intersection of the two shapes results in an object of the same dimension, but different from both of the shapes. Applies to Area/Area, Line/Line, and Multi-point/Multi-point shape type combinations.