[mapserver-users] SLD TextSymbolizer in 6.1-dev

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Wed Jul 25 05:28:08 PDT 2012


> Does anyone have an idea what might be the problem here?

Can you try with
  <Label><PropertyName>KOMNAVN</PropertyName></Label>

instead of

> <TextSymbolizer>
> <Label>KOMNAVN</Label>
> [...]
> </TextSymbolizer>

It seems msSLDParseTextParams() tries to read the string value of
Label/PropertyName to build the expression but msSLDGenerateTextSLD()
writes only Label with the LABELITEM as text content.

HTH


More information about the mapserver-users mailing list