[postgis-users] Spatial Query

Brian Sanjeewa Rupasinghe jinkabs at gmail.com
Thu Aug 14 02:53:13 PDT 2008


Hi,

I have polygon features in PostgreSQL database. How can i make
a query to find all polygons that are within a distance of say 1m from
polygon id = 100. Query should not select polygons that are within polygon
id = 100.
I used ST_WIthindistance, but it selcted all insidepolygons too. Please
help me if you have any sample code or clue.

Thanks in advance,

Sanjeewa.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20080814/fe2a3cf6/attachment.html>


More information about the postgis-users mailing list