[Qgis-user] QGIS Server 3.4 LTR - sld_body support

Häfliger Guido guido.haefliger at vogelwarte.ch
Sun Mar 1 23:47:08 PST 2020


Hi
I'm migrating a Web Application from QGIS 2.18 to QGIS 3.4. In the old application we used sld_body- parameter in WMS request to add a custom layer (raster) to the qgis-project. The syntax is the following:
SLD_BODY : <SLD units="mm"><UserLayer><Name>scans_17273</Name><HostedRDS uri="/home/research/vogelatlas/data/scans/2019/3/inventory_17273.tif" epsg="2056"/><UserStyle><Name>style</Name></UserStyle></UserLayer></SLD>

In the error log there is no error but the result of the request is:
<ServiceException code="InvalidCRS">Could not create output CRS</ServiceException>

Does anybody know if UserLayer in sld_body is still supported in QGIS Server 3.4 or in a version > 3.4?

Thanks in advance for your information

____________________________________________________

Dipl. Ing. ETH Guido Häfliger
EDV/GIS-Spezialist
Tel. ++41 41 462 97 60
guido.haefliger at vogelwarte.ch<mailto:guido.haefliger at vogelwarte.ch>
www.vogelwarte.ch<http://www.vogelwarte.ch/>

Schweizerische Vogelwarte | Seerose 1 | CH-6204 Sempach | Schweiz
Station ornithologique suisse | Seerose 1 | CH-6204 Sempach | Suisse
Stazione ornitologica svizzera | Seerose 1 | CH-6204 Sempach | Svizzera
Swiss Ornithological Institute | Seerose 1 | CH-6204 Sempach | Switzerland

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200302/0fc36449/attachment.html>


More information about the Qgis-user mailing list