Re: [OpenMap Users] Gravity point

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 6 Feb 2006 11:55:12 -0500

Hi Bart,

I think the OMTextLabeler.getCenter(...) method does what you want.

- Don


On Feb 6, 2006, at 7:41 AM, Bart Jourquin wrote:

> Hi all,
>
> Is there a (simple) way to compute the gravity point of a polygon?
> In my case, I would like to calculate the "center" of each region
> (polygon) on a map to use it as origin/destination for transport
> demand.
>
> Best regards,
>
> Bart
>
> -- Prof Dr Bart Jourquin F.U.Ca.M. - G.T.M. Chaussée de Binche,
> 151a B7000 Mons Belgium Tel. : +32 65 323293 Fax. : +32 65 315691
> http://www.fucam.ac.be/jourquin

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Feb 06 2006 - 11:56:03 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT