Does Qgis server support SLD and SLD_BODY parameters in GetMap request?

I'm trying to give a valid .sld to qgis server but it returns empty image in response.

1 Answer 1


It depends on your QGIS version. If you use QGIS server 3 then the SLD support was dropped due to another change https://issues.qgis.org/issues/19795.

With the suppression of the class QgsHttpTransaction, the support of SLD parameter has been removed.

The support is coming back with this pull request https://github.com/qgis/QGIS/pull/7859.

  • Thank you for so quick answer! From a topic you wrote I understand that SLD_BODY parameter still works. So, I will temporally use it! Sep 21, 2018 at 10:05

Your Answer

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

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