I want to be able to compute the distance between a point and the nearest polygon from a shapefile. To be more specific, I have some point coordinates and I want to find their distance from a worldwide coastline polygon shapefile. And I have to do that with GDAL in python.
Could you point me to some direction? I have seen a lot of answers, but since I am a novice on GDAL I get more confused every time.
Best Answer
So, after many hours of searching the web for an answer I managed to come up with the following code.