[postgis-users] distance between 2 polygons
Nicklas Avén
nicklas.aven at jordogskog.no
Thu Feb 16 13:35:53 PST 2012
Hallo
> Does A distance of 0 mean that the polygons touch each other or it
> means that their bounding box touch each other?
From ST_Distance distance 0 menas that they are touching or overlapping
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?
>
It is the shortest distance between two polygons. You can use
ST_ShortestLine to find what that two points (first and last point in
the resulting line)
HTH
Nicklas
> thanks
> Steve
>
>
> _______________________________________________
> 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/20120216/920eb908/attachment.html>
More information about the postgis-users
mailing list