Hi Andrea > <ogc:PropertyIsEqualTo> > <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal> > <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal> > </ogc:PropertyIsEqualTo> > <ogc:And> > <ogc:Not> > <ogc:And> > <ogc:PropertyIsEqualTo> > <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal> > <ogc:Literal>ALL_LABEL_CLASSES_ENABLED</ogc:Literal> > </ogc:PropertyIsEqualTo> > > that do not make sense... A = A is always true, those comparisons are useless > extras > > Cheers > Andrea > They look useless from the point of boolean algebra -true ;-) But of course there is a good reason AtlasStyler writes that stuff into the XML code.
See it like that: These fixed "never or always true" conditions represent toggles in the GUI. E.g. if you disable the complete labeling tab at once, AtlasStyler will disable the block with "always false" filters and not hrow your settings away. So when you decide later that you did actually like the labels, all settings like font, size, etc. are still there. This concept is AtlasStyler has been using such filters since version 1.0, so I am sure that the problem is not related. Remember: 1. Every SLD saved with AtlasStyler is validated.. So the SLD is valid. 2. The user created the style graphically with AtlasStyler.. During that process the style has been successfully rendered with Geotools. For faster rendering and cleaner code, AtlasStyler should really get a button "export optimized SLD" which would throw away all that stuff and generate cleaner SLD. (but with the disadvantage that AtlasStyler will not be able to restore full GUI state after loading that). I wanted to write such a button since months/ years.. never found the time... @haavard Send a nice mail your sample SLD, data sample, version numbers and to the AtlasStyler mailling list and I will try understand why it renders in AtlasStyler (= Geotools) and not in Geoserver (=Geotools). Greetings, Steve -- wikisquare Softwareentwicklung Stefan Tzeggai Straßburger Weg 26 53113 Bonn email [email protected] webpage wikisquare.de skype alfonx phone 0228 24 000 528 mobile 0176 40 38 9559 reclaim your net - http://tor.eff.org enforce privacy - http://www.pgpi.org pgp key id: 51B576FD - http://pgp.mit.edu Please note that according to the German law on data retention, information on every electronic information exchange with me is retained for a period of six months. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
