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 variable (required for my project).
My question is: what is the measurement of this variable (ie.) Is it in kilometer or meter or do I have to convert it using the diameter of the earth?
I'm not sure. Can someone suggest a solution?