Thanks a lot, Ben. I was looking for a more algorithmic solution. May be, the way ST_PointOnSurface is implemented would help? I want to implement such a solution in a clientside utility like, say, Flash. I was wondering if GIS folks on this list would know of a solution.<br>
<br>Mikhil<br><br><div class="gmail_quote">On Mon, Jul 27, 2009 at 4:46 PM, Ben Madin <span dir="ltr"><<a href="mailto:ben@remoteinformation.com.au">ben@remoteinformation.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
G'day Mikhil,<br>
<br>
Have a look at ST_PointOnSurface - this might help<br>
<br>
cheers<br>
<br>
Ben<div><div></div><div class="h5"><br>
<br>
<br>
On 28/07/2009, at 1:31 AM, Mikhil Masli wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi:<br>
<br>
I am trying to find the center of an irregularly shaped polygon (this might even be concave). The use case is to label an arbitrarily shaped polygon in the middle. I have tried centroid, but the centroid need not be in the visual middle or it may even end up outside the polygon.<br>

<br>
If you guys have any ideas/solutions or can point me to any places which can be a source for ideas/solutions, I'd appreciate it!<br>
<br>
Thanks,<br>
Mikhil<br>
<br>
-- <br>
Go Gophers!<br></div></div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote>
<br>
-- <br>
<br>
Ben Madin<br>
REMOTE INFORMATION<br>
<br>
t : +61 8 9192 5455<br>
f : +61 8 9192 5535<br>
m : 0448 887 220<br>
Broome   WA   6725<br>
<br>
<a href="mailto:ben@remoteinformation.com.au" target="_blank">ben@remoteinformation.com.au</a><br>
<br>
<br>
<br>
                                                        Out here, it pays to know...<br>
<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Go Gophers!<br>