M.S.Bachler wrote:

Hi!

I have tried adding a TextSymbolizer rule to my SLD and now it is broken.
I have checked it by eye and from reading the 'Styled Layer Descriptor Implementation Specification'.
But can't see where I am going wrong.
When I try validating it with the uDig XML validation button in the Style Editor, it runs for ages but never seems to finish and I have to crash out.

Basically I want to draw a label under my icons (points).
The only bit of the TextSymbolizer I was unsure of was:

        <sld:Label>
                <ogc:PropertyName>ID</ogc:PropertyName>
        </sld:Label>

Is this PropertyName, the name of an attribute in my shapefile?
That is what I assumed.
Each of my Points has an attribute called 'ID'

I have attached the shapefile and sld in a zip.

Anyone have any ideas?

<<border-heron1.zip>>
Michelle

Hi Michelle,

I tried this today using 1.1.M6, but had trouble loading the shapefile. Tomorrow i'll have my workspace back on trunk and will find a solution.

Cheers,
Cory.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to