[mapserver-users] LABELPOLY with increased padding

Dirk Raffel dirk.raffel at googlemail.com
Thu Jun 23 04:58:14 EDT 2011


Hi,

the documentation for the STYLE element says that LABELPOLY creates a
polygon that covers the label with 1 pixel padding.
Unfortunately, 1 pixel padding doesn't look too good in my case, see this
example image
https://docs.google.com/leaf?id=0B6vp23tQ3ixPM2Y1Y2VhZTEtZDQ2MC00ODVkLWFiNzEtMzM3Y2FiZDY0OGQz&hl=en_US&authkey=CJ_72NMH

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

Does anyone know of any workarounds to achieve a bigger padding, other than
hacking the mapserver source?
Are there any plans to further improve label styling in future mapserver
releases in a way that would solve issues like this?

Thanks,
Dirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110623/a8d6f2da/attachment.html


More information about the mapserver-users mailing list