Wednesday, 10 January 2018

qgis - SLD parsing fail on GeoServer



I created a custom style on QGis and saved as SLD file. When I added to GeoServer, after validation it, I got an errors about parsing.


Here is the error message below:


Parsing failed for Filter: java.lang.RuntimeException: Unable to find function Literal
line 26: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ogc:Filter'. One of '{"http://www.opengis.net/ogc":expression}' is expected.
line 27: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ogc:Literal'. One of '{"http://www.opengis.net/ogc":spatialOps, "http://www.opengis.net/ogc":comparisonOps, "http://www.opengis.net/ogc":logicOps, "http://www.opengis.net/ogc":_Id}' is expected.




Some_Name


Some_Name


Single symbol






line

#ff0000


#ff0000


3




1.2








#ff0000
0.26
bevel
square

1



#ff0000

0.26
bevel
square

-0.6








How can I resolve the parsing issue?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...