[postgis-users] Transformation between SWEREF99 TM (3006) and WGS 84 (4326)
hugo.wetterberg at goodold.se
Tue May 8 05:46:27 PDT 2007
I'm trying to transform 2D points from SWEREF99 TM (3006) to the
coordinate system used by Google Maps, WGS 84 (4326), the results so
far are completely off.
I have one test-case for an address in Lund, Sweden that has the
coordinates [13.083259,55.669587] (long,lat) according to google maps:
Those coordinates are probably not spot on, but it gives me an idéa
of what to expect.
The data that I get from Lantmäteriet, the swedish organization for
cadastral services, gives the SWEREF99 coordinates [6179129,1345843]
(lat/X,long/Y) which I try to transform like this:
SELECT AsText(transform(GeomFromText('POINT(6179129 1345843)',3006),
This results in the coordinates "POINT(60.8759971959914
8.54384645182583)" (Hemsedal in norway BTW) when I expected something
more along the lines of "POINT(55.669587 13.083259)"
Any ideas? All help is appreciated!
More information about the postgis-users