How can I check if a geopoint is within the area of a given shapefile?
I managed to load a shapefile in python, but can't get any further.
How can I check if a geopoint is within the area of a given shapefile?
I managed to load a shapefile in python, but can't get any further.
Here is a simple solution based on pyshp and shapely.
Let's assume that your shapefile only contains one polygon (but you can easily adapt for multiple polygons):