[mapserver-users] SLD TextSymbolizer in 6.1-dev
Julien Cigar
jcigar at ulb.ac.be
Thu Jun 28 02:34:56 PDT 2012
Hi,
I don't know for your problem but I used to use the <SvgParameter ..>
instead of the <CssParameter ..> (this is in SLD 1.1.0)
It works fine in 6.1
Here is one of my SLD template, if it can help ...
http://www.pastie.org/4164772
Julien
On 06/27/2012 15:07, jlundnielsen wrote:
> Hi List,
>
> In the process of preparing for 6.2 I have discovered a problem applying
> labels through the use of SLD TextSymbolizer in 6.1-dev.
>
> The following is applying labels fine in my current install of 6.0.1, but
> not in 6.1-dev:
> ...
> <TextSymbolizer>
> <Label>
> <PropertyName>NAME</PropertyName>
> </Label>
>
> <CssParameter name="font-family">arial</CssParameter>
> <CssParameter name="font-style">bold</CssParameter>
> <CssParameter name="font-size">18</CssParameter>
>
> </TextSymbolizer>
> ...
>
> The request does not fail as such in 6.1-dev, just no labels are applied...
> Digging out the temporary mapfile reveals that 'TEXT ("[NAME]")' is put in
> the layer in both cases, but in 6.1-dev there is no declaration of 'LABEL'
> for the layer, so it is not shown.
>
> Am I doing something wrong here? Anyone having similar experiences?
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/SLD-TextSymbolizer-in-6-1-dev-tp4984223.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcigar.vcf
Type: text/x-vcard
Size: 292 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120628/b539c3fe/attachment.vcf>
More information about the MapServer-users
mailing list