Check to see how far away the point is from the line
the line to check against
the point to check against the line
the method to use, either 'euclidean' or 'haversine'. Defaults to 'euclidean'
The shortest distance between the point and a line. Returns -1 if line is empty
Check to see how far away the point is from the line