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

thomas bonfort thomas.bonfort at gmail.com
Mon Jan 2 09:40:33 PST 2017


Ian,
It's the intented effect, with the label baseline aligned with the symbol
baseline. You can probably nudge it manually with an offset if you need to.

--
thomas

On Mon, Jan 2, 2017 at 6:30 PM Ian Walberg <ian.walberg at airborne.aero>
wrote:

> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20170102/cb1cb393/attachment-0001.html>


More information about the mapserver-dev mailing list