SV: [mapserver-users] Projection error, RT90 in MapServer

Sofia Bryntse Sofia.Bryntse at et.slu.se
Fri Jan 22 09:09:54 EST 2010


Hi Jukka,

Thank you, I tried adding your line to my RT90 projection parameter list now, but it didn't help. The point moved 50 meters or so, but not in the right direction. (See attached screenshot.)

Regards,
Sofia
________________________________________
Från: Rahkonen Jukka [Jukka.Rahkonen at mmmtike.fi]
Skickat: den 22 januari 2010 11:16
Till: Sofia Bryntse; mapserver-users at lists.osgeo.org
Ämne: Re: [mapserver-users] Projection error, RT90 in MapServer

Hi,

Have you tried adding 'towgs84=0,0,0,0,0,0,0' also to RT90 definitions?

-Jukka Rahkonen-


> -----Alkuperäinen viesti-----
> Lähettäjä: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Fia
> Lähetetty: 22. tammikuuta 2010 10:56
> Vastaanottaja: mapserver-users at lists.osgeo.org
> Aihe: [mapserver-users] Projection error, RT90 in MapServer
>
>
> Hello,
>
> I have a problem showing data in the former Swedish standard reference
> system RT90 2,5 gon V. The point is projected ~250 meters
> northwest of where
> it should be. I have used the projection parameters for MapServer from
> Spatialreference.org.
>
> The underlying map projection is SWEREF 99 TM (the new
> standard Swedish
> reference system), with the following projection parameters:
> PROJECTION
>       'proj=utm'
>       'zone=33'
>       'ellps=GRS80'
>       'towgs84=0,0,0,0,0,0,0'
>       'units=m'
>       'no_defs'
> END
>
> I have then tested to pinpoint an intersection, in both
> WGS-84 and RT90, but
> the RT90 point does not end up where it should be.  I have
> double checked
> that the RT90 coordinates are correct by transforming them to
> WGS-84. See my
> attached screenshot.
> http://n2.nabble.com/file/n4438959/rt90_mapserver_error.jpg
>
> For the WGS-84 point I have the following projection parameters:
> PROJECTION
>       'proj=longlat'
>       'ellps=WGS84'
>       'datum=WGS84'
>       'no_defs'
>       'units=m'
> END
>
> And the RT90 point has:
> PROJECTION
>       "proj=tmerc"
>       "lat_0=0"
>       "lon_0=15.80827777777778"
>       "k=1"
>       "x_0=1500000"
>       "y_0=0"
>       "ellps=bessel"
>       "units=m"
>       "no_defs"
> END
>
> I have also tried all the other RT90 projections provided by
> Spatialreference.org, just to see if any of them would work
> better, but
> without luck.
>
> Have I made a mistake somewhere, or are there any suggestions
> of why this
> error occurs? I'm out of ideas.
>
> Regards,
> Sofia
> --
> View this message in context:
> http://n2.nabble.com/Projection-error-RT90-in-MapServer-tp4438
> 959p4438959.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt90_towgs84.JPG
Type: image/jpeg
Size: 25291 bytes
Desc: rt90_towgs84.JPG
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100122/7acf2f11/rt90_towgs84-0001.jpe


More information about the mapserver-users mailing list