[OpenLayers-Users] Point in parrallel with line formula

Chris Adams chris at genieknows.com
Wed Apr 29 16:02:11 EDT 2009


To compute the minimum distance to the line, you can use the formula 
described here:

http://local.wasp.uwa.edu.au/~pbourke/geometry/pointline/

At one point, it will compute the point along the line which is closest 
to the other point, you can use the haversine formula with these two points.

newbie wrote:
> Dear All,
>            Just say I got a pair of lat and long p1 and p2 and I draw a line
> based on both the points. So now I want to know if a particular point in the
> parallel range of say 50m either on left or right sides of the line. How can
> I decide this what is the formula please ?
>   





More information about the Users mailing list