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: [email protected]
[mailto:[email protected]] On Behalf Of Ian
Walberg
Sent: Friday, June 01, 2012 2:23 PM
To: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to