[mapserver-dev] Label position not as expected version 7.0.x

Ian Walberg ian.walberg at airborne.aero
Mon Jan 2 09:10:28 PST 2017


Folks,

Happy New Year to everyone.

Using version 7.0.x we are not seeing the label positon as we had for previous versions for mapserver.

The vertical label position now appears to not center naturally on the text but is towards the bottom of the center line.

Are we missing something?

Thanks

Ian

MAP

  EXTENT 0.0 0.0 10.0 10.0
  SIZE 1024 720
  IMAGECOLOR 140 140 140

  SYMBOL
    NAME 'City'
    TYPE ELLIPSE
    POINTS 1 1 END
    FILLED true
  END

  LAYER

    NAME "Label position"
    TYPE POINT
    STATUS DEFAULT

    FEATURE
        POINTS
          1.00 5.00
          1.00 8.00
        END # POINTS
    END # FEATURE

    CLASS
      TEXT 'Label text'
      STYLE
        SYMBOL 'City'
        SIZE 12
        COLOR 255 255 255
      END # STYLE

      LABEL
        TYPE BITMAP
        SIZE 30
        COLOR 255 255 255
        POSITION CR
      END # LABEL

    END # CLASS

  END # LAYER

END # MAP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20170102/d3fee851/attachment.html>


More information about the mapserver-dev mailing list