mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[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
This commit is contained in:
parent
e4e5cda685
commit
1a159efecb
@ -1820,7 +1820,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" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user