Hi guys,
I want to calculate distance between polygons and points which are in 2 SHP using "near" function.
in my 2 SHP, each point is related to a specific polygon, there is a link thanks to the attributes.
"Near" function seem to calculate the distance between the closest objects (in my case : point to the closest boundary of the polygon) whereas I just want to calculate for each point distance between this point and the closest boundary of THE polygon with THE SAME ID (where point.polygon_id = polygon.id).
Do you see a simple way to do that in python ?