Skip to content
Permalink
Browse files

[Server] GetStyles: no more needs to add units in SLD

After @aaime works on SLD, no more needs to add units in SLD send by GetStyles
  • Loading branch information
rldhont committed Sep 22, 2016
1 parent 282dfbc commit eebe86072225cc371c49fe39bd7187b6ad86928f
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/server/qgswmsprojectparser.cpp
@@ -1821,7 +1821,6 @@ QDomDocument QgsWMSProjectParser::getStyles( QStringList& layerList ) const
// Create the root element
QDomElement root = myDocument.createElementNS( "http://www.opengis.net/sld", "StyledLayerDescriptor" );
root.setAttribute( "version", "1.1.0" );
root.setAttribute( "units", "mm" ); // default qgsmaprenderer is Millimeters
root.setAttribute( "xsi:schemaLocation", "http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" );
root.setAttribute( "xmlns:ogc", "http://www.opengis.net/ogc" );
root.setAttribute( "xmlns:se", "http://www.opengis.net/se" );

0 comments on commit eebe860

Please sign in to comment.