<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi there,<br><br>How about calculating the MinimumBoundingCircle of your geometry first http://postgis.refractions.net/docs/ST_MinimumBoundingCircle.html. Once you have the circle, it shouldn't be too difficult to derive the radius from this?<br><br>HTH<br><br>Edward<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: yaminijsingh@live.com<br>To: postgis-users@postgis.refractions.net<br>Date: Mon, 30 Jul 2012 15:04:15 +0200<br>Subject: [postgis-users] distance from centroid to the points that form the outer boundary of the polygon<br><br>
<style><!--
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
--></style>
<div dir="ltr">
<p class="ecxMsoNormal">Hi All,</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">I am looking for suggestions for the following problem I have
at hand.</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in">1.<span style="font-size:7pt;font-family:'Times New Roman'">
</span>I have a table that contain multipolygons</p>
<p class="ecxMsoListParagraph" style="text-indent:-.25in">2.<span style="font-size:7pt;font-family:'Times New Roman'">
</span>I want to calculate the maximum distance of
points that form the polygon from the centroid
of the polygon. For example of the polygon is formed of 50 points then I want
to have distance of all the 50 points from the centroid of the polygon.</p>
<p class="ecxMsoNormal"> </p>
<p class="ecxMsoNormal">I am not sure if someone has done this before. But I am
finding it difficult to implement it. Any help in this regards is welcome…</p><p class="ecxMsoNormal"><br></p><p class="ecxMsoNormal">Best,</p><p class="ecxMsoNormal">YJS</p> </div>
<br>_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users</div> </div></body>
</html>