1
vote
1answer
38 views

Finding the shortest distance between a point and a line

I read and understood the following GIS question and the accepted answer, calculating-the-distance-between-a-point-and-a-virtual-line-of-two-lat-lngs I can return the value in the ShortestLength ...
12
votes
3answers
2k views

Calculating the distance between a point and a virtual line of two lat/lngs

Please refer to the example and corresponding image. I would like to achieve the following: provide two locations (lat/lng), which are shown below as A and B. From this, a virtual line would be drawn ...