[postgis-users] postgis-users Digest, Vol 125, Issue 28

Tom van Tilburg tom.van.tilburg at gmail.com
Wed Aug 1 01:28:47 PDT 2012


Hi Yamini,

I'm not sure I understand what you are trying to do.
Perhaps you can give the realworld example of your task or maybe an 
image that explains?

If you need something of an 'outermost ring' around your area you might 
consider using ST_ConcaveHull.
http://postgis.refractions.net/documentation/manual-2.0/ST_ConcaveHull.html

Cheers,
  Tom

On 1-8-2012 10:04, Yamini Singh wrote:
> Hi Tom,
>
> I am working with multipolygons because some of my states have holes 
> in it and some have islands. I am really thankful to the solution 
> provided by you. But does your solution also take care of the holes 
> and islands. Because i want to calculate the distance of all points 
> (on outermost boundary of multipolygons) from centroid.
> or example, if there are holes inside the polygon then the distance to 
> centroid should only be for the points on the outermost boundary of 
> that polygon and should not include points of the holes as such for 
> calculation. Similarly, if there are islands then it should considers 
> the outermost points for calculations.
> I hope i have clarified my problem better.
>
>
> Thanks
> Yamini
>

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


More information about the postgis-users mailing list