I have a style I am saving in QGIS (2.18) as an SLD. After reloading the Style onto the layer the ouline width changes to pixels instead of map units.

I even checked the .sld in notepad and the uom-Tag is there. (uom="http://www.opengeospatial.org/se/units/metre">)

Any ideas?

  • 1
    That sounds like a bug. You should check the issue tracker to see if it has been resolved for more recent versions of QGIS. If it hasn't been reported, please report it.
    – csk
    Commented Jul 5, 2018 at 20:28

1 Answer 1


This is currently (QGIS 3.24.3) a bug in QGIS, bug report on the QGIS issue tracker:


Starting with QGIS 3.26.0, uom="http://www.opengeospatial.org/se/units/metre" is decoded to 'Meters at Scale:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.