Use multiple <FeatureTypeStyle> tags in your SLD. First <FeatureTypeStyle> tags 
contain least important symbols, while consecutive <FeatureTypeStyle>-tags 
contain more important symbols. You can use the <ogc:Filter> to specify the 
attribute that indicates the importance of the symbol.

Each <FeatureTypeStyle> tag makes a full scan of the table and draws only the 
features that satisfy the <ogc:Filter> statement. Thus the most important 
symbols are drawn last on top of the less important symbols.

Regards,

Edward

From: [email protected]
To: [email protected]; [email protected]
Date: Fri, 4 Jan 2013 07:04:45 -0500
Subject: Re: [Geoserver-users] [bulk]:  Decluttering/SLD/CSS

Thanks Stefan, But my understanding is that that only applies to labels.. it is 
control over the point symbols that I need/want. Brgrds, Chris From: Stefan 
Engelhardt (HBT) [mailto:[email protected]] 
Sent: 04 January 2013 11:53
To: [email protected]
Subject: Re: [Geoserver-users] [bulk]: Decluttering/SLD/CSS Hi Chris,without 
having done it by myself, I would expect, that priority would give you what you 
want: http://docs.geoserver.org/2.1.0/user/styling/sld-reference/labeling.html 
CheersStefan From: Chris Haste [mailto:[email protected]] 
Sent: Friday, January 04, 2013 12:19 PM
To: [email protected]
Subject: [bulk]: [Geoserver-users] Decluttering/SLD/CSS Hello list and HNY to 
you all! This is probably a very basic question so if someone can point me in 
the right direction it would be greatly appreciated. I understand how to 
control labelling based on zoom level, priority and z-order to manage the 
clarity of the map. I also understand how to display or not display point 
symbols based on zoom level filters. BUT I can’t work out how to control 
drawing symbols with the same degree of control as I have over labels. I have 
points on a map that are more important than others but are all in the same 
layer. In areas where there are a lot of points, and the scale doesn’t support 
drawing them all clearly, I want to only display just the important ones (and 
their labels) but as the user zooms in and the screen real-estate increases I 
want to display more i.e. include the less important points. This is all doable 
via the scale filters, but causes an undesirable issue in areas where there are 
a low numbers of points – they only become visible when you are zoomed in. In 
these areas I would like to be able to display the less important points at the 
same time as limiting the display of points in the more congested areas to only 
show the important ones. Any ideas on how to achieve this? Thanks  Chris*** 
This communication has been sent from World Fuel Services 
Corporation or its subsidiaries or its affiliates for the intended recipient 
only and may contain proprietary, confidential or privileged information. 
If you are not the intended recipient, any review, disclosure, copying, 
use, or distribution of the information included in this communication 
and any attachments is strictly prohibited. If you have received this 
communication in error, please notify us immediately by replying to this 
communication and delete the communication, including any 
attachments, from your computer. Electronic communications sent to or 
from World Fuel Services Corporation or its subsidiaries or its affiliates 
may be monitored for quality assurance and compliance purposes.***
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users                    
                  
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to