TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.19k stars 364 forks source link

Problem accessing ESRI WMTS #1573

Open rsignell-usgs opened 8 years ago

rsignell-usgs commented 8 years ago

When I try to add this dataset https://www.arcgis.com/home/item.html?id=af0614c88e0d4cad9a72115a944b37ff using the WMTS endpoint at http://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer/WMTS/1.0.0/WMTSCapabilities.xml

I get no errors, but nothing appears. When I check for issues in developer tools, I find:

Unusable ArcGIS Mapserver layers metadata: 
[object Object](anonymous function) @ ArcGisMapServerCatalogItem.js:226
createCatalogItemFromUrl.js:27RuntimeError
kring commented 8 years ago

I had more success with this http://gis.ngdc.noaa.gov/arcgis/rest/services/bag_hillshades/ImageServer/WMTS?request=GetCapabilities&service=WMTS

That allowed the list of layers to be queried, at least. But the server didn't like TerriaJS's map tile requests; it responded with a 400 error.

ArcGIS Server sometimes has a "unique" interpretation of OGC standards, or maybe TerriaJS just isn't supporting it correctly. In any case, you may be better served by #1458 for accessing this server.