Hi there, 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?
HTH Edward From: yaminijsi...@live.com To: postgis-users@postgis.refractions.net Date: Mon, 30 Jul 2012 15:04:15 +0200 Subject: [postgis-users] distance from centroid to the points that form the outer boundary of the polygon Hi All, I am looking for suggestions for the following problem I have at hand. 1. I have a table that contain multipolygons 2. 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. 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… Best,YJS _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users