maps - Mapserver projection conversion -


i have spent dozens of hour trying find possible change projection mapserver no luck far. input format epsg 3067 , need convert epsg 900913 google map use.

in map object add

projection "init=epsg:900913" end

this sets output projection of map. in t layer object add

projection "init=epsg:3067" end

this set projection incoming data layer in.

you need add following line /usr/share/proj/epsg or equivalent path if on windows:

spherical mercator projection

<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +over +nadgrids=@null +no_defs <>


Comments

Popular posts from this blog

angular - Is it possible to get native element for formControl? -

unity3d - Rotate an object to face an opposite direction -

javascript - Why jQuery Select box change event is now working? -