Hi, in QGIS I have set this XYZ source: https://tiles.wmflabs.org/osm-no-labels/{z}/{x}/{y}.png QGIS renders it properly.
I have created this GDAL source <GDAL_WMS> <Service name="TMS"> <ServerUrl>https://tiles.wmflabs.org/osm-no-labels/{z}/{x}/{y}.png </ServerUrl> </Service> <DataWindow> <UpperLeftX>-20037508.34</UpperLeftX> <UpperLeftY>20037508.34</UpperLeftY> <LowerRightX>20037508.34</LowerRightX> <LowerRightY>-20037508.34</LowerRightY> <TileLevel>18</TileLevel> <TileCountX>1</TileCountX> <TileCountY>1</TileCountY> <YOrigin>top</YOrigin> </DataWindow> <Projection>EPSG:900913</Projection> <BlockSizeX>256</BlockSizeX> <BlockSizeY>256</BlockSizeY> <BandsCount>3</BandsCount> <Cache /> <ZeroBlockHttpCodes>204,404</ZeroBlockHttpCodes> </GDAL_WMS> But if run gdal_translate --debug ON -of PNG -projwin 5203413 2847209 5221042 2829459 -outsize 512 512 osm-no-labels.xml openstreetmap.png I have a black PNG. The debug shows me a wrong HTTP call (the below one), but I do not know how to modify my xml source to be able to run right requests. HTTP: Request [1] https://tiles.wmflabs.org/osm-no-labels/{z}/{x}/{y}.png/1.0.0//12/2580/1758.jpg What's wrong in my settings? Thank you -- ___________________ Andrea Borruso website: https://medium.com/tantotanto 38° 7' 48" N, 13° 21' 9" E, EPSG:4326 ___________________ "cercare e saper riconoscere chi e cosa, in mezzo all’inferno, non è inferno, e farlo durare, e dargli spazio" Italo Calvino
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev