[mapserver-users] regarding scalebar

Amiya Patra amiyapatra188 at gmail.com
Wed Dec 17 01:09:47 PST 2008


Hi
  I have one input with extent -97.384655 49.697475 -96.877772 50.077168
.Now my scalebar initially shows me upto 6 miles(0...3...6) why?? It should
to show more than 6 as 1 degree =69.04 miles.
MAP
        IMAGETYPE png24
    #NAME "mapa"
    SIZE 640 480
    STATUS ON
    UNITS dd
    IMAGECOLOR     255 255 255
    EXTENT -97.384655 49.697475 -96.877772 50.077168 # 0.0 0.0 475.0 486.0
#583.0 421.0

    SHAPEPATH "/home/nms/MapServerData/data"
Scalebar
     #
         SCALEBAR
         LABEL
             COLOR 0 0 0
             ANTIALIAS true
             SIZE small
         END
         POSITION lr
         INTERVALS 2
         STATUS embed
         SIZE 144 5
         STYLE 0
         UNITS miles

         BACKGROUNDCOLOR 255 0 0
         IMAGECOLOR 255 255 255
         COLOR 128 128 128
         OUTLINECOLOR 0 0 255
         TRANSPARENT off
     END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081217/64b4a4d2/attachment.htm>


More information about the MapServer-users mailing list