[postgis-users] Points on a straight line

Fred Lehodey lehodey at gmail.com
Wed Dec 10 05:40:39 PST 2008


Hi Abhi,
ST_DWithin();

Example:
SELECT p.* FROM yourPoints AS p, yourLine AS l WHERE
ST_DWithin(p.the_geom,l.the_geom,yourTolerance)


Fred



On Wed, Dec 10, 2008 at 1:26 PM, Abhi <abhirama.bhat at gmail.com> wrote:

> If I have a set of Point objects, is there a way I can filter out the
> Points from this set that lie on a straight line within a certain amount of
> tolerance?
>
> --
> Cheers,
> Abhi
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20081210/40e0d611/attachment.html>


More information about the postgis-users mailing list