I'm trying to find the shortest distance from a point (point A uploaded as a CSV) to a polygon uploaded as a shapefile (polygon 1) and then the distance from that point of the polygon to any of the points in the polygon (e.g. point 1B, point 1C, point 1D inside polygon 1, uploaded as another CSV).
So the output expected is:
Point A -> closest point on Polygon 1 (P1): x km
P1 -> point 1B: x km
P1 -> point 1C: x km
P1 -> point 1D: x km
That's what I am trying to get to, also on a bigger scale, i.e. point A is always the same, but there are multiple polygons and multiple points in each polygon. At the end of the day, for each point I would like to have the shortest distance from the point A to the polygon that it sits within and then from there to the point itself.