[postgis-users] Problem finding the center of an irregular polygon
Mikhil Masli
mikhilm at gmail.com
Mon Jul 27 19:52:27 PDT 2009
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.
Mikhil
On Mon, Jul 27, 2009 at 4:46 PM, Ben Madin <ben at remoteinformation.com.au>wrote:
> G'day Mikhil,
>
> Have a look at ST_PointOnSurface - this might help
>
> cheers
>
> Ben
>
>
>
> On 28/07/2009, at 1:31 AM, Mikhil Masli wrote:
>
> Hi:
>>
>> 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.
>>
>> 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!
>>
>> Thanks,
>> Mikhil
>>
>> --
>> Go Gophers!
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
> --
>
> Ben Madin
> REMOTE INFORMATION
>
> t : +61 8 9192 5455
> f : +61 8 9192 5535
> m : 0448 887 220
> Broome WA 6725
>
> ben at remoteinformation.com.au
>
>
>
> Out here, it pays to
> know...
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
--
Go Gophers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20090727/2f9cc395/attachment.html>
More information about the postgis-users
mailing list