On Mon, Jul 14, 2014 at 3:33 PM, Jonathan Moules <
[email protected]> wrote:
> Hi List,
> I'm trying to use the "Priority" enhanced labelling option -
> http://docs.geoserver.org/latest/en/user/styling/sld-reference/labeling.html#priority-labeling
>
> However, no matter where I place it, GeoServer fails the SLD validation
> (Andrea's post to -
> http://osgeo-org.1560.x6.nabble.com/SLD-validation-fails-on-GS-2-1-1-td3791003.html
> suggests it should be just about Vendor Options).
> This might just be because I'm using SLD 1.1
>
> line 96: cvc-complex-type.2.4.a: Invalid content was found starting with
>> element 'se:Priority'. One of '{"http://www.opengis.net/se":VendorOption}'
>> is expected.
>
>
> However, when I view the WMS output, it returns a map that doesn't appear
> to have taken the Priority into account; the feature with a priority of
> 10,000 is unlabelled but the surrounding 2,000 priorities are labelled just
> fine.
>
>
Priority is the only labelling vendor extension that we have that is not
using the Vendor tag (it's the oldest one) .
It may well be that the SLD 1.1 parser does not know about it, so it's
getting ignored during parsing.
Cheers
Andrea
--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck®
Code Sight™ - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users