It would be awesome if there was a way to find a distance from given point to the nearest point on a polygon.