Hi Andrea

Am 14.02.2011 21:21, schrieb andrea antonello:
Hi Matthias,
I wasn't aware of the preference and am not sure if that one isn't
overridden by the style?
You should be able to handle that one in the sld anyways. Right now I
don't remember exactly the tag, but if that is an option for you, I
can dig that out.

This would help me. I couldn't find it. Is it part of the symbolizers or a general setting?

Thanks,
Matthias



Ciao,
Andrea


On Mon, Feb 14, 2011 at 12:15 PM, Matthias Lendholt (JIRA)
<[email protected]>  wrote:
PreferenceConstants.P_IGNORE_LABELS_OVERLAPPING is not respected by renderer?
-----------------------------------------------------------------------------

                 Key: UDIG-1751
                 URL: http://jira.codehaus.org/browse/UDIG-1751
             Project: uDIG
          Issue Type: Bug
          Components: visualization using map layer and style
    Affects Versions: UDIG 1.2.RC1
         Environment: Application based on uDig 1.2RC1 SDK. Upgrade to latest 
SDK currently not possible due to GEOT-3431.

            Reporter: Matthias Lendholt
         Attachments: udig-bug.JPG

I'm setting both the default value an the value itself to true but still not 
all labels are rendered in my application.

ProjectPlugin.getPlugin().getPreferenceStore().setDefault(PreferenceConstants.P_IGNORE_LABELS_OVERLAPPING,
 true);
ProjectPlugin.getPlugin().getPreferenceStore().setValue(PreferenceConstants.P_IGNORE_LABELS_OVERLAPPING,
 true);

During runtime I can check in the preferences that this has been performed: checkbox 
"Render all labels without overlapping checkings" is checked.

See screenshot. Missing labels for some regions. They appear on zooming in.




--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


_______________________________________________
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



--
[[email protected]]
GFZ German Research Centre for Geosciences
CeGIT Centre for GeoInformation Technology
Tel +49 331 288-1687; FAX +49 331 288-1703
Telegrafenberg A20, 14473 Potsdam, Germany
Blog http://zeigertelegraph.gfz-potsdam.de
Contact MECARD QR Code: http://goo.gl/488J
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to