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


_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to