ENH: add covers() method to GeoSeries/GeoDataFrame
See original GitHub issueOf all the spatial predicate methods (intersects, contains, within, crosses, etc), we are missing covers
.
This can be added to GeoSeries/GeoDataFrame in geopandas/base.py
(it’s already added to the GeometryArray).
In principle, we could also add a “covered_by” method. But this is a bit more tricky since it is missing in shapely (but it is already available in pygeos).
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
geopandas.GeoSeries.covers
This method works in a row-wise manner. It does not check if an element of one GeoSeries covers any element of the other...
Read more >geopandas.GeoSeries
Return Addition of series and other, element-wise (binary operator add ). add_prefix (prefix) ... Synonym for DataFrame.fillna() with method='bfill' .
Read more >Set-Operations with Overlay - GeoPandas
The overlay() method will determine the set of all individual geometries from overlaying the two input GeoDataFrames. This result covers the area covered...
Read more >geopandas.GeoDataFrame
Get Addition of dataframe and other, element-wise (binary operator add ). add_prefix (prefix) ... Synonym for DataFrame.fillna() with method='bfill' .
Read more >Data Structures — GeoPandas 0.12.2+0.gefcb367.dirty ...
A short summary of a few attributes and methods for GeoSeries is presented ... is the active geometry column, use the GeoDataFrame.set_geometry() method....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed, this can be closed, thanks again!
@bhavika I only see now your comment above about GEOSCoveredBy not being properly exposed / the segfault. I also see that locally, but I think you best post that in the Shapely PR, as the people there might have more insight on this.