[QGIS-Developer] XYZ Tiles base map not working on QGIS Server

René-Luc Dhont rldhont at gmail.com
Thu Mar 14 03:04:39 PDT 2019


Hi Marco,

Which QGIS Server version ?
Are the XYZ services HTTPS ?
Do you have a proxy for the server ?
Can you made some curl request on the server and access a tile ?

Regards,

Le 14/03/2019 à 10:46, Marco Barbieri a écrit :
> I have a project in QGIS desktop with 3 XYZ Tiles base maps. 
> Everything works fine.
>
> I use the same .qgs project on QGIS server and only one base map works 
> with GetMap request.
>
> The following are my requests to the server. The first request shows 
> OpenStreetMap base map:
>
> http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=OpenStreetMap&FORMAT=image/png
>
> This request should show the "WebMapp_Tiles" base map, but doesn't 
> work (white background):
>
> http://qgs.webmapp.it/cgi-bin/test/qgis_mapserv.fcgi?MAP=/usr/lib/cgi-bin/test/xyz_tiles.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=1174461,5729736,1175761,5731386&CRS=EPSG:3857&WIDTH=491&HEIGHT=624&LAYERS=WebMapp_Tiles&FORMAT=image/png
>
> Thanks.
>
> -- 
> *Marco Barbieri / *Cartografo
> marcobarbieri at webmapp.it <mailto:marcobarbieri at webmapp.it>
> www.webmapp.it <http://www.webmapp.it/>
> +39 050 55 25 74 / +39 347 683 03 13
>
> Webmapp Srl
> Via A. Cei 2 / 56123 Pisa
> P.Iva e CF 02266770508
> Capitale Sociale 10.000,00 €
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190314/7e664cc6/attachment-0001.html>


More information about the QGIS-Developer mailing list