[mapserver-users] mapserver 5.4.2 Reprojection error

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Jan 26 08:13:27 EST 2010


Hi,

I am not sure if this helps in your case, but you can try to edit the "epsg" file in the projection library and add +towgs84=0,0,0 in the line that defines the <31467> projection.  EPSG:3067 needs this extra parameter for sure and I believe it is the same with your next try with  EPGS:32632. Let's hope it cures 31467 as well.

 

-Jukka Rahkonen- 

 


________________________________

	Lähettäjä: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta tommaso
	Lähetetty: 26. tammikuuta 2010 14:31
	Vastaanottaja: mapserver-users at lists.osgeo.org
	Aihe: [mapserver-users] mapserver 5.4.2 Reprojection error
	
	
	Hallo list,
	
	
	With mapserver 5.4.2 (FGS API 9.5) , if my map is reprojected in EPGS:31467, it is shifted about 100 m to north and 50 m to east (approximately).
	The same data with the same mapfile and the same URL works fine on mapserver 5.0.2 (FGS API 1.0.0).
	The data are stored in an Postgis Database with srid 4326.
	The URL I'm using is:
	http://localhost:8081/cgi-bin/map?request=getMap&version=1.1.1&srs=EPSG:31467&bgcolor=000000&transparent=true&exception=application/vnd.ogc.se_inimage&layers=messe_background,halls&width=1600&height=1600&bbox=3553126.5489076,5796728.52646645,3556663.71956136,5800882.49936431&format=agg <http://10.0.5.77:8081/cgi-bin/cebit10?request=getMap&version=1.1.1&srs=EPSG:31467&bgcolor=000000&transparent=true&exception=application/vnd.ogc.se_inimage&layers=messe_background,halls&width=1600&height=1600&bbox=3553126.5489076,5796728.52646645,3556663.71956136,5800882.49936431&format=agg> 
	
	
	On the linked picture you can see the same map with the same bbox generated by the two version of mapserver. The map on the right is to north-east shifted, the map on the left is ok.
	http://img695.imageshack.us/img695/9590/cebit.png
	
	If the map is not reprojected (EPGS:4326) there are not errors.
	
	
	Did somebody observe the same issue?
	
	Thanks,
	Tom
	
	

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100126/bd0c61bf/attachment.html


More information about the mapserver-users mailing list