Hi,

I have coordinates in KKJ3 and need to convert them into coordinates for 
Google Maps (and back). 
Therefore, I implemented the formulas 
from http://www.kolumbus.fi/eino.uikkanen/geodocsgb/ficoords.htm in code.
WGS_84 convert(KKJ3 from) {
 double DX = -96.062;
 double DY = -82.428;
 double DZ = -121.754;
 double rx = -4.801;
 double ry = -0.345;
 double rz = +1.376;
 double m = +1.496;

WGS_84 wsg = new WGS_84();
wsg.X = DX + (1 + m / (10 ^ 6)) * (1 * from.X + rz * from.Y - ry * from.Z);
wsg.Y = DY + (1 + m / (10 ^ 6)) * (-rz * from.X + 1 * from.Y + rx * from.Z);
wsg.Z = DZ + (1 + m / (10 ^ 6)) * (ry * from.X - rx * from.Y + 1 * from.Z);
return wsg;
}

Is this the right way to interpret the formula? I do not seem to get usable 
results out of it ...

Kind regards,
Michael

On Monday, November 14, 2005 6:53:55 PM UTC+2, Eino Uikkanen wrote:
>
> It is actually already there:
>
> KKJ-grid (e.g. KKJ3) to WGS84 geographic: first four steps only (here
> you can read: EUREF-FIN=WGS84)
>
> Vice versa: last four steps only
>
> Good luck!
> Eino
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API v2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to