Commit 4408dfe
committed
[BUGFIX] Set default units to mm in exportSld
The default units in QgsMapRenderer is Millimeters. The default units in SLD
is Pixel but exportSld does not convert all millimeters in pixels.
We notes this bug by comparing default QGS Server rendering and rendering with
the SLD generated by QGIS.
To resolve it, we just have to add units to the document element.1 parent ae90d8e commit 4408dfe
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1370 | 1370 | | |
1371 | 1371 | | |
1372 | 1372 | | |
| 1373 | + | |
1373 | 1374 | | |
1374 | 1375 | | |
1375 | 1376 | | |
| |||
0 commit comments