[mapserver-users] Issue with correct distance/length displaying on scalebar in Mapfile

David Pardy david.pardy at airborne.aero
Wed Jun 19 15:13:11 PDT 2013


Prior to the scalebar, I had set the projection the same per layer:
 
    PROJECTION
      "proj=longlat"
      "ellps=WGS84"
      "datum=WGS84"
    END
 
After getting the scalebar to appear, I notice the lengths/distances
were not correct, so I decided to add a map projection outside all the
layers. Same as above.
 
My scalebar is as follows:
 
  SCALEBAR
    LABEL
      COLOR 0 0 0
      SIZE SMALL
    END
    STYLE 0
    SIZE 180 8
    POSITION lc
    COLOR 0 0 0
    UNITS MILES
    INTERVALS 2
    TRANSPARENT TRUE
    STATUS EMBED
  END
 
Any help on the matter would be greatly appreciated. 

Thank you.
David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130619/d4434eae/attachment.htm>


More information about the MapServer-users mailing list