<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Yamini,<br>
<br>
I'm not sure I understand what you are trying to do.<br>
Perhaps you can give the realworld example of your task or maybe
an image that explains?<br>
<br>
If you need something of an 'outermost ring' around your area you
might consider using ST_ConcaveHull.<br>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/documentation/manual-2.0/ST_ConcaveHull.html">http://postgis.refractions.net/documentation/manual-2.0/ST_ConcaveHull.html</a><br>
<br>
Cheers, <br>
Tom<br>
<br>
On 1-8-2012 10:04, Yamini Singh wrote:<br>
</div>
<blockquote cite="mid:SNT131-W341E182E1DAD7EDF50F9DBA9C40@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
Hi Tom,
<div><br>
</div>
<div>I am working with multipolygons because some of my states
have holes in it and some have islands. <span
style="font-size: 10pt; ">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.</span></div>
<div>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.</div>
<div>I hope i have clarified my problem better. </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks </div>
<div>Yamini<br>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>