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
too.

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
type?
OR
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,
Fausto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/ggl/attachments/20100331/29ee3ac2/attachment.html


Geometry list run by mateusz at loskot.net