[postgis-users] polygon minimum width

nicklas.aven at jordogskog.no nicklas.aven at jordogskog.no
Thu Oct 1 01:50:37 PDT 2009


Hallo I think the easiest way is to make a linestring of the polygon.boundary and then cut the line in the start and end so you get two more or less paralell lines. Then you can use st_distance to find the shortest distance between them. Hope that helpsNicklas

2009-10-01 Surya Tarigan wrote:

>
>
Dear list, 
>
 
>
I  have a river polygon with polygon length about 20 km.  How can I query the minimum width of  the river polygon. I tried to search previous threads, but I could not find any clue.
>
 
>
kind regards,
>
 
>
surya
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20091001/f4fc4227/attachment.html>


More information about the postgis-users mailing list