Commit b54b159
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 1a9aec4 commit b54b159
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
| 1383 | + | |
1383 | 1384 | | |
1384 | 1385 | | |
1385 | 1386 | | |
| |||
0 commit comments