Generated scale
James Net
james_marsnett at HOTMAIL.COM
Tue Jan 17 17:17:25 PST 2006
I'm viewing a satellite map of a large area and my mapserver generated scale
seems a little wrong. Viewing a whole state (of Australia) mapserver
generates a scale ranging from 0 ---> 0.001km (see attached). And when I
zoom-in the scale bar goes to 0 ---> 0. Any ideas? I thought my scale should
be like 1 ---> 1000km. Am I not reading it right? Am I missing or have I
stuffed up a map file config option / setting?
My Map file:
MAP
NAME WEX
IMAGETYPE jpeg
EXTENT 140 -41 150 -33
SIZE 600 600
DEBUG ON
TRANSPARENT ON
IMAGECOLOR 239 242 248 # The background Color.
WEB
LOG "mylog.log" # The Debug Log.
TEMPLATE "template.html"
IMAGEPATH "/var/web/tmp/"
IMAGEURL "/tmp/"
METADATA
wms_title "WEX"
wms_srs "EPSG:4283"
wms_onlineresource "http://myserver/cgi-bin/mapserv?map=wex.map"
END
MAXSCALE 50.0
MINSCALE 0.1
END
PROJECTION
"init=epsg:4283"
END
...
SCALEBAR
IMAGECOLOR 0 0 0
LABEL
COLOR 255 255 255
SIZE TINY
END
STYLE 1
SIZE 100 2
COLOR 255 255 255
UNITS kilometers
INTERVALS 1
TRANSPARENT TRUE
STATUS ON
END
...
LAYER stuff
...
END # EOF
Thanks in advance!
_________________________________________________________________
Start something musical - 15 free ninemsn Music downloads!
http://ninemsn.com.au/share/redir/adTrack.asp?mode=click&clientID=667&referral=HotmailTaglineNov&URL=http://www.ninemsn.com.au/startsomething
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sb11375463746959.jpg
Type: image/jpeg
Size: 1050 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060118/84aa55d9/attachment.jpg>
More information about the MapServer-users
mailing list