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.


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! – Alexander Novikov Sep 21 '18 at 10:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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