mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-21 13:00:14 +08:00
DOC: Adding geopandas.Series overlaps method in documentation (#1423)
This commit is contained in:
@@ -53,6 +53,8 @@ The following Shapely methods and attributes are available on
|
||||
|
||||
.. automethod:: geopandas.GeoSeries.intersects
|
||||
|
||||
.. automethod:: geopandas.GeoSeries.overlaps
|
||||
|
||||
.. automethod:: geopandas.GeoSeries.touches
|
||||
|
||||
.. automethod:: geopandas.GeoSeries.within
|
||||
|
||||
+8
-1
@@ -374,7 +374,14 @@ class GeoPandasBase(object):
|
||||
return _binary_op("intersects", self, other)
|
||||
|
||||
def overlaps(self, other):
|
||||
"""Return True for all geometries that overlap *other*, else False"""
|
||||
"""Returns True for all geometries that overlap *other*, else False.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
other : GeoSeries or geometric object
|
||||
The GeoSeries (elementwise) or geometric object to test if
|
||||
overlaps.
|
||||
"""
|
||||
return _binary_op("overlaps", self, other)
|
||||
|
||||
def touches(self, other):
|
||||
|
||||
Reference in New Issue
Block a user