I have two GeoDataFrames:
- A single multi-part polygon
- Many points
I have read them in with the following:
import geopandas as gpd
poly = gpd.read_file('C:\\Users\\srcha\\Desktop\\folder\\poly.shp')
points = gpd.read_file('c:\\Users\\srcha\\Desktop\\folder\\points.shp')
I want to run the equivalent of "Select by location" in ArcGIS with GeoPandas and shapely tools to select points that are within the polygon.
How should I go about this?