Skip to content

Commit bdd3b92

Browse files
committed
[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
1 parent c2e0205 commit bdd3b92

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/server/qgswmsprojectparser.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1821,7 +1821,6 @@ QDomDocument QgsWMSProjectParser::getStyles( QStringList& layerList ) const
18211821
// Create the root element
18221822
QDomElement root = myDocument.createElementNS( "http://www.opengis.net/sld", "StyledLayerDescriptor" );
18231823
root.setAttribute( "version", "1.1.0" );
1824-
root.setAttribute( "units", "mm" ); // default qgsmaprenderer is Millimeters
18251824
root.setAttribute( "xsi:schemaLocation", "http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" );
18261825
root.setAttribute( "xmlns:ogc", "http://www.opengis.net/ogc" );
18271826
root.setAttribute( "xmlns:se", "http://www.opengis.net/se" );

0 commit comments

Comments
 (0)