[mapserver-users] Outlining label text
Ian Walberg
ian.walberg at airborne.aero
Fri Jun 1 14:36:31 PDT 2012
As soon as I wrote this I think I have the answer.
This draws 2 outlines with the colour and outline colour the same.
The first one uses the outline width to extend the border around the
text.
The second one is bigger and a different colour we of course get an
outline.
Ian
STYLE
GEOMTRANSFORM 'labelpoly'
COLOR 0 0 0
OUTLINECOLOR 0 0 0
WIDTH 12.0
END
STYLE
GEOMTRANSFORM 'labelpoly'
COLOR 100 100 100
OUTLINECOLOR 100 100 100
WIDTH 8.0
END
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Friday, June 01, 2012 2:23 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Outlining label text
Hello folks,
We are using labels with 2 lines of text and the wrap/align works well.
Then we want to draw a background and an outline for the combined text.
This works ok using the style in the label and GEOTRANSFORM labelpoly.
The problem we have is we can only get a 1 pixel border so that the
outline is just too close.
What do we need to know to draw the outline a little further out?
Thanks
Ian
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list