Hi!

Thanks for spotting that '('.
I looked at the SLD for ages but did not see that.
I found a couple of other things as well, but it is all working fine
now.

Thanks for all your help with my SLD development.
My labels are finally where I want them. 

Yeah!!!! :-)

Michelle


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cory
Horner
Sent: 06 April 2006 17:51
To: User-friendly Desktop Internet GIS
Subject: Re: [udig-devel] TextSymbolizer


M.S.Bachler wrote:

>I downloaded yesterdays nightly build and I tried my SLD, and it still 
>seems to be ignoring my displayment values. When I view the XML in the 
>StyleEditor, it shows the PointSymbolizer section of my SLD correctly 
>but not the TextSymbolizer section which has my displacement as 0,0.
>
>I have attached an example of the SLD files I am generating.
>
>Q: Can anyone see anything wrong with the SLD that would make uDig 
>ignore the TextSymbolizer part of it?
>  
>
I see a "(" just before </sld:LabelPlacement> which would likely wreak 
havoc.  What you see in the XML page of the Style Editor is what your 
StyledLayerDescriptor actually contains -- If there are zeros in your 
displacement, then the SLD is rendering correctly, since those values 
didn't get imported.  I'd recommend making your changes in the XML page 
and then exporting the SLD.  Importing and Exporting an SLD and 
comparing is a good test to see if your SLD syntax is correct, if there 
is a difference then something is *fishy*.

>Also, there are some odd error messages being sent to my log file that 
>may be related:
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.58 
>!MESSAGE StyleConfigurator extension point attribute 'id' not specified
>-- using label 'Legend' as unique identifier
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.58 
>!MESSAGE StyleConfigurator extension point attribute 'id' not specified
>-- using label 'Scalebar' as unique identifier
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.58 
>!MESSAGE StyleConfigurator extension point attribute 'id' not specified
>-- using label 'Location' as unique identifier
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.58 
>!MESSAGE StyleConfigurator extension point attribute 'id' not specified
>-- using label 'Simple' as unique identifier
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.68 
>!MESSAGE StyleConfigurator extension point attribute 'id' not specified
>-- using label 'Simple' as unique identifier
>
>!ENTRY net.refractions.udig.style.sld 1 0 2006-04-06 13:46:52.68 
>!MESSAGE Duplicate id found -- skipping 'Simple' with label 'Simple'
>  
>
Those are harmless -- just indications that we haven't added some 
optional attributes to the StyleConfigurator extension point, and it's 
letting us know what assumptions it is making -- it will be fixed for 
the next release.

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

Reply via email to