[Mapserver-users] Scalebar showing wrong units

Thorsten Fischer thfischer at mapmedia.de
Mon Apr 14 11:51:00 EDT 2003


On Mon, 2003-04-14 at 12:35, Michael Härtel wrote:
> I try to set up an internet map with MapServ3.6 but it seems that the 
> scalebar alsways shows the wrong units (refer to:
> "http://134.76.76.96/cgi-bin/mapserv.exe?map=H:\_webroot_\MapServ\nbu\nbu.map")
> 

You are missing a line in the mapfile that says which kind of units make
up the final map. As you are using decimal degrees or your output image,
the solution is most likely to add a line saying

UNITS DD

to the header of your mapfile.



hth,

thorsten




More information about the mapserver-users mailing list