[postgis-users] ST_Line_Locate_Point - what is the distance at which a point is NOT close to a line?

David William Bitner david.bitner at gmail.com
Wed May 19 11:31:01 PDT 2010


It returns zero if the closest point on the line to the given point is the
start point of the line.  It returns one when the closest point on the line
to the given point is the end point of the line.

David

On Wed, May 19, 2010 at 1:13 PM, Gokul <gokulj at gmail.com> wrote:

> Hello,
>
> Newbie question. Please bear with me.
>
> I understand ST_Line_Locate_Point that returns the " location of the
> closest point on LineString to the given Point as a fraction of the total
> distance of the LineString", but what is the distance between the Point and
> the LineString that it considers as 'close'
>
> In other words, when does it return zero? (i.e what is the distance at
> which a point is not close to a line?)
>
>
> Thanks,
> Gokul.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>


-- 
************************************
David William Bitner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100519/f223defd/attachment.html>


More information about the postgis-users mailing list