1

I cannot add the below map server (Middle_East_Oil_and_Gas_Field_Map_by_CIA (WMTS) to qgis through add WMS/WMTS layer.

A connection will not be made to the following URL.

URL: https://tiles.arcgis.com/tiles/ULBqC49IEeIR01GF/arcgis/rest/services/Middle_East_Oil_and_Gas_Field_Map_by_CIA/MapServer?view=wmtsview&cacheKey=aec62228d3e2389d

What am I doing wrong?

QGIS version 2.18.26

  • 2
    This is no WMS-server, it's an online-map. – Erik Jan 31 '19 at 17:15
  • @Erik It is a WMTS and works in ArcGIS online. – neogeomat Jan 31 '19 at 18:13
  • 4
    Not with that url it isn't – Ian Turton Jan 31 '19 at 18:47
  • I thought I found my answer here but I am having a problem with a similar tiles.arcgis.com location. I apologize if I am not following format but I offer another solution at the end and would appreciate any help with the following MapServer as none of the above solutions worked. The the following URL is what I am having trouble loading in QGIS 3.4. tiles.arcgis.com/tiles/pDAi2YK0L0QxVJHj/arcgis/rest/services/… If I add the previous link to QGIS 3.4 as a ArcGISMapServer Connection the image comes in but is all blurry, pixelated, stretched, and only seen thi – opcesurveyor Feb 25 '19 at 19:37
3

You can use this url as WMTS service in QGIS:

https://tiles.arcgis.com/tiles/ULBqC49IEeIR01GF/arcgis/rest/services/Middle_East_Oil_and_Gas_Field_Map_by_CIA/MapServer/WMTS/1.0.0/WMTSCapabilities.xml?cacheKey=aec62228d3e2389d
| improve this answer | |
  • That is some black magic. How did you do that? Can you please refer me to any kind of reference where I can get more about rewriting the URL in such smart way? – Taras Feb 1 '19 at 10:35
  • 1
    If you shorten the original url to tiles.arcgis.com/tiles/ULBqC49IEeIR01GF/arcgis/rest/services in a browser, you will find the ArcGIS Services Directory. There you can navigate to the correct layer and find a link to the WMTS service. – Michel Stuyts Feb 1 '19 at 10:51
2

You can add the map as "XYZ Tiles" layer using the following URL:

https://tiles.arcgis.com/tiles/ULBqC49IEeIR01GF/arcgis/rest/services/Middle_East_Oil_and_Gas_Field_Map_by_CIA/MapServer/WMTS/tile/1.0.0/Middle_East_Oil_and_Gas_Field_Map_by_CIA/default/default028mm/{z}/{y}/{x}.png

Notice the variables {z}, {y}, {x} at the end.

I checked it using QGIS 3.4, but should also work with 2.18. See this video.

| improve this answer | |
0

I think I have the same problem. I want to add WMTS layer to QGIS but I can't. I want to insert in QGIS tiles of background from this Webgis https://mappe.regione.vda.it/pub/geodissesti/

If I inspect webpage in Chrome I find this link for a tile

https://mappe.regione.vda.it/INVA/config/config.ashx?https://mappe.regione.vda.it/cache/rest/services/Foundation/Mista/MapServer/tile/1/146/163

If I add this layer WMTS in QGIS

https://mappe.regione.vda.it/INVA/config/config.ashx?https://mappe.regione.vda.it/cache/rest/services/Foundation/Mista/MapServer/WMTS/?request=getcapabilities

I can insert a layer... but I don't see nothing.

Do you have any idea?

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.