Boost logo

Geometry :

Subject: [ggl] centroid strategies and transform to 3D
From: fausto (f4ust0f)
Date: 2010-03-31 12:00:03

Hi all again,
I've a couple of further questions, that might be helpful for other users

How can one calculate the centroid of a multipolygon made of lat/long
coordinates (for ex. country).

Is there a way to transform polygons from lat/long coordinates to xyz
(eventually defiing which plane to use, the default being xy).
If it doesn't exist:
is it possible to implement a custom transform and use an external 3d point
is there a way to get() the outer and inners points of the polygon, so that
I can implement the xyz transform externally?

Thanks again,
-------------- next part --------------
An HTML attachment was scrubbed...

Geometry list run by mateusz at