Geoserver 2.5 style SLD import from QGIS issue

المشرف العام

Administrator
طاقم الإدارة
I have created an SLD file from a layer in QGIS that I am trying to import into Geoserver 2.5 but am having some problems with an issue.

The error I am getting back is:

Parsing failed for Filter: java.lang.RuntimeException: Unable to find function Literalline 23: 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 24: 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.The following is my SLD file:-

air_quality_management_areas air_quality_management_areas Single symbol horline #5c98e6 0.25 5 45 horline #5c98e6 0.25 5 135 0 0 #5c98e6 0.5 bevel square It looks to be a problem with how the angle of my diagonal lines are trying to be drawn. From my header I can see that the ogc link is there so am a bit confused with why it isn't displaying.

Does anyone have any suggestions to make?

Thanks!



أكثر...
 
أعلى