On Nov 19, 9:28 pm, Brendan Kenny wrote:
> Hi Stephane,
>
> Can you give a specific example of what you'd like to do?
Sure. I would like to shift and rotate a polygon drawn using Google
Earth. For example, after drawing a polygon matching the coastline of
Africa, I would like to move it to fit along the atlantic coast of
south america. This would be a wonderful pedagogic tool to illustrate
plate tectonics.
I can probably do it by extracting the lat/lon data from a KML file,
and calculate new coordinates of the vertices using quaternions, but
that would be very painful compared to drag/rotate with the mouse.
Thanx for any help.