[OpenLayers-Users] AW: [mapserver-users] Mapserver 6.0, SLD and halo

Arnd Wippermann arnd.wippermann at web.de
Fri Jun 10 16:02:14 EDT 2011


Hi,

Have you set <Font> for the label. I have expierenced, that without that,
<Halo> not works. But with it, <Radius> are taken.

Arnd

-----Ursprüngliche Nachricht-----
Von: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Rahkonen
Jukka
Gesendet: Freitag, 10. Juni 2011 15:35
An: 'mapserver-users at lists.osgeo.org'
Betreff: [mapserver-users] Mapserver 6.0, SLD and halo

Hi,

This part of SLD used to work with 5.x

<sld:Halo>
<sld:Radius>
<ogc:Literal>3</ogc:Literal>
</sld:Radius>
<sld:Fill>
<sld:CssParameter name="fill">#FFFFFF</sld:CssParameter>
<sld:CssParameter name="fill-opacity">1</sld:CssParameter>
</sld:Fill>
</sld:Halo>

It does not work with 6.0. Mapserver accepts the SLD if we take off this
part:
<sld:Radius>
<ogc:Literal>3</ogc:Literal>
</sld:Radius>

However, the document http://mapserver.org/ogc/sld.html says that also
Radius is supported

"Halo Yes 	Supported (fill converted to outlinecolor, and radius is
converted to outlinewidth. 
Note that outlinewidth is only available for AGG in >=5.2)"

-Jukka Rahkonen-_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the Users mailing list