[GeoNode-users] SLD upload: "not a valid xml file"
Ariel Neri
ariel.neriw at gmail.com
Tue Jun 12 09:13:55 PDT 2018
Hi all. I´m trying to upload sld files made in QGis 2.14 for syling layers,
but it seems there is something wrong with them.
I get " The uploaded SLD file is not valid XML "
Non of the SLD files could be uploaded. I copy the code of a simple one. Do
i have to modify anything? Thanks.
(Geonode 2.8 runing on ubunto 16.04 server)
Ariel
SLD code:
<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="
http://www.opengis.net/ogc" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="
http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="
http://www.opengis.net/se">
<NamedLayer>
<se:Name>capa_de_prueba</se:Name>
<UserStyle>
<se:Name>capa_de_prueba</se:Name>
<se:FeatureTypeStyle>
<se:Rule>
<se:Name>Single symbol</se:Name>
<se:PolygonSymbolizer>
<se:Fill>
<se:SvgParameter name="fill">#e4ea1c</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000001</se:SvgParameter>
<se:SvgParameter name="stroke-width">1</se:SvgParameter>
<se:SvgParameter
name="stroke-linejoin">bevel</se:SvgParameter>
</se:Stroke>
</se:PolygonSymbolizer>
</se:Rule>
</se:FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180612/72eb312f/attachment.html>
More information about the geonode-users
mailing list