I want to calculate the distance between a point and the border of a country using python / shapely
. It should work just fine point.distance(poly) e.g. demonstrated here Find Coordinate of Closest Point on Polygon Shapely but using geopandas
I face the issue of:
'GeoSeries' object has no attribute '_geom'
What is wrong in my handling of the data? My border dataset is from http://www.gadm.org/