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
[email protected] <mailto:[email protected]>
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
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to