[postgis-users] Checking the point location against a line

Ray G. Lu codemeit at gmail.com
Fri Apr 6 19:04:49 PDT 2007


Hello Pedro ,

Thanks for your reply,

What I meant was how to determine P(x0,y0)
is above the line or LEFT side of the line,
or P(x2,y2) is below the line or RIGHT side of the line.


################################################

                                          P(x0,y0)  Above the line

This is line
-------------------------------o-------------------------------------
                                P(x1,y1) On the line

                                       P(x2,y2) Below the line
################################################

Thanks,

G. LU
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070407/95432134/attachment.html>


More information about the postgis-users mailing list