[postgis-users] distance between 2 polygons

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu Feb 16 11:19:48 PST 2012


Hi
For each polygon I need to find the nearest polygon. I used 
ST_Distance(geometry, geometry)
I succesfully did it but I want to make sure to interpret the result 
correctly
Does A distance of 0 mean that the polygons touch each other or it means 
that their bounding box touch each other?
What does a distance of 100 mean?. Is it the shortest distance between the 
2 polygons or the distance between some random point on the polygon or on 
the surface?

thanks
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120216/d0d732c5/attachment.html>


More information about the postgis-users mailing list