Skip to content

Commit

Permalink
[Server] GetStyles: no more needs to add units in SLD
Browse files Browse the repository at this point in the history
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 eebe860
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/server/qgswmsprojectparser.cpp
Expand Up @@ -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" );
Expand Down

0 comments on commit eebe860

Please sign in to comment.