2

I'm trying to add this particular imagery in QGIS:

http://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/3

But when i write the phyton srcipt i get the message that the URL is incorrect.

I'm getting this typical message: "Cannot open GDAL dataset http://server.arcgisonline.com/ArcGIS/rest/serââvices/World_Imagery/MapServer?f=json&pretty=true: Failed to create temporary file:/tmp/file.dat"

Anyone know what is the correct URL for High Resolution 30cm Imagery?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
user23570
  • 61
  • 2
  • http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&pretty=true without the two accented a's in the middle seems to work – Ian Turton Nov 10 '15 at 13:41
  • ooops...I didn't write any â! And when i took them out i get this message: Cannot open GDAL dataset http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json&pretty=true: Invalid dataset dimensions : -2147483648 x -2147483648 – user23570 Nov 10 '15 at 14:43
  • Possible duplicate of this post. This reported a different error but involves a bug with adding Esri imagery to QGIS. – crmackey Nov 10 '15 at 15:07
  • Can you post the python code snippet that you tried? – artwork21 Sep 25 '16 at 16:20

1 Answers1

1

I use the QuickMapServices or the TileLayerPlugin plugins (see OpenStreetMap heavily pixellated when loaded in QGIS and standalone application). They automatically set the scale to the fixed resolutions of the zoom levels.

For the TileLayerPlugin, the URI is

#title  credit  serviceUrl  yOriginTop  zmin    zmax    xmin    ymin    xmax    ymax
ArcgisWorldImagery  esri    http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}.png    1   0   16  -180    -85.0   180.0   85.0

For the QuickMapServices, the URI is is referenced in the Quickmapservices contribution site (ArcGIS online imagery)

enter image description here

gene
  • 54,868
  • 3
  • 110
  • 187