[mapserver-users] LABELPOLY with increased padding

Lime, Steve D (DNR) steve.lime at state.mn.us
Thu Jun 23 14:00:21 PDT 2011


I believe padding pre-6.0 was a by-product of the buffer value. In this case I was hoping to allow
geometry operations like class/style-geomtransforms do. E.g.

  GEOMTRANSFORM (buffer([labelpoly], 2))

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Dirk Raffel
Sent: Thursday, June 23, 2011 5:09 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] LABELPOLY with increased padding

On Thu, Jun 23, 2011 at 11:15 AM, thomas bonfort <thomas.bonfort at gmail.com<mailto:thomas.bonfort at gmail.com>> wrote:
I agree this would be an important feature to have.
For now, you should be able to hack around it by specifying the width
of the outline as twice the value of the padding you want. You do
loose the possibility of having an outline of a different color than
the fill.

STYLE
 GEOMTRANSFORM 'labelpoly'
 COLOR 0 150 220
 OUTLINECOLOR 0 150 220
 WIDTH 7
END

Note that I have not tried this, please post back with your results...

Yes, this helps a lot, see https://docs.google.com/leaf?id=0B6vp23tQ3ixPZDk2Mjk3N2EtM2Q5Mi00MTgyLWIxYWYtZjczYTE5ZWMyMTM2&hl=en_US&authkey=CPryva8D

STYLE
 GEOMTRANSFORM 'labelpoly'
 COLOR 0 150 220
 OUTLINECOLOR 0 150 220
 WIDTH 24
END
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110623/a3ff6c37/attachment.htm>


More information about the MapServer-users mailing list