[QGIS-Developer] QGIS Server 3.10 sld-parameter UserLayer
Häfliger Guido
guido.haefliger at vogelwarte.ch
Mon Mar 2 22:32:01 PST 2020
Hi
I'm migrating a Web Application from QGIS 2.18 to QGIS 3.10. In the old application we used UserLayer-parameter in sld_body in WMS request to add a custom layer (raster) to the request. 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>
This was working perfectly with 2.18, with version 3.10 the layer is not displayed. 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.10? How is the exactly syntax?
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-developer/attachments/20200303/17445a3a/attachment.html>
More information about the QGIS-Developer
mailing list