[mapserver-users] Any trick to buffer labelpoly?

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon May 2 00:20:16 PDT 2022


Hi Steve,

That's not my problem, I just wondered if we could help the original poster. But the OP was clever enough to use a wide outline with the fill color and that probably gives a satisfactory result though not perfect. The wide line grows both outwards and inwards and the partial transparency is not perfect where the fill meets the outline. And when a  colored outline is widened it starts to paint over the label text.

-Jukka-

Lähettäjä: Steve Lime <sdlime at gmail.com>
Lähetetty: perjantai 29. huhtikuuta 2022 17.07
Vastaanottaja: Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi>
Kopio: Mapserver-Users (mapserver-users at lists.osgeo.org) <mapserver-users at lists.osgeo.org>
Aihe: Re: [mapserver-users] Any trick to buffer labelpoly?

Looks like there were some new responses on the post referenced. Will those work for you? Otherwise we'd have to re-think the label poly geomtranform to either allow an argument or be embedded in a more complex expression.

On Fri, Apr 29, 2022 at 1:24 AM Rahkonen Jukka (MML) <jukka.rahkonen at maanmittauslaitos.fi<mailto:jukka.rahkonen at maanmittauslaitos.fi>> wrote:
Hi,

There is a wish to buffer the labelpoly in https://gis.stackexchange.com/questions/429779/mapserver-background-buffer-around-labels-geomtransform-labelpoly<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgis.stackexchange.com%2Fquestions%2F429779%2Fmapserver-background-buffer-around-labels-geomtransform-labelpoly&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C41747ae5ae97406b35c508da29e98c3e%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637868380312962065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=PQavu5kTy4oQgV1U4MK12%2B4JNw4dVVmmVG7%2B43czZaM%3D&reserved=0> but it does not seem to be supported directly. Can anybody suggest a trick or workaround?

-Jukka Rahkonen-

_______________________________________________
MapServer-users mailing list
MapServer-users at lists.osgeo.org<mailto:MapServer-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapserver-users<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fmapserver-users&data=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7C41747ae5ae97406b35c508da29e98c3e%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C1%7C637868380312962065%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=WukR0hkd5yI%2FcKeZsOyriJHnvs90feXuy2HwQw2wvYI%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220502/96d93ee4/attachment.htm>


More information about the MapServer-users mailing list