Accessing Geoserver WMTS from ArcGis Desktop

11534
11
09-06-2012 12:56 AM
antoniogomez
New Contributor
Hello forum:

Is it possible to conect to a Geoserver WMTS service using an ArcMap 10.1 connection?
In other words...  does ArcMap only connect to arcGis Server WMTS services?

thank you in advance


Antonio
0 Kudos
11 Replies
GraemeBrowning
Occasional Contributor III
I have been able to connect to the City of Vienna's WMTS using ArcGIS for Desktop 10.1.

My understanding is that this WMTS is implemented using GeoServer.

- Graeme
0 Kudos
JimSibbald
Esri Contributor
It will depend on whether you are using KVP or RESTful Encoding to connect to the WMTS.  The WMTS GetCapabilities should be able to tell you what Encoding is offered for the service.

ArcGIS for Desktop at 10.1 (No Service Packs or Patches) has an issue with KVP in that in forming the http GetTile it does not add a value for the Format.  For instance capturing in Fiddler,

(Example not Live)
GET http://.....&format=&TileMatrixSet=ogc:1.0:globalcrs84pixel&TileMatrix=0&TileRow=0&TileCol=0
400 Bad Request (text/xml)

should be

(Example not Live)
GET http://.....&format=image/png&TileMatrixSet=ogc:1.0:globalcrs84pixel&TileMatrix=0&TileRow=0&TileCol=...
200 OK (image/png)

works.

This has been reported.

If it has RESTFul and KVP then Desktop defaults to RESTFul and it works fine.
0 Kudos
JimSibbald
Esri Contributor
The missing format in KVP should be fixed in 10.1 SP2 http://support.esri.com/en/bugs/nimbus/TklNMDg0ODA2
0 Kudos
GraemeBrowning
Occasional Contributor III
That's great news - thankyou for pursuing this!
0 Kudos
JasonLee
New Contributor
Hi,
I have also been playing around with getting a WMTS service in ArcGIS 10.1 (SP1). I am using my own custom tiles through my own WMTS service (not Geoserver) which I can successfully pull in but when I overlay some building outline shapefiles I can see an offset of about 48 meters.

I then also tried loading in the same City of Vienna's WMTS, mentioned earlier, and can see a similar offset when compared to loading in some OSM and ESRI Streets Basemaps (File>Add Data>Add Basemap...). Is there a known issue with displaying WMTS in 10.1?

I ask because I noted some WMTS fixes in 10.2 release notes - but I don't yet have access to this version to verify...

Jason
0 Kudos
DavidHollema
New Contributor III
Hi,
I have also been playing around with getting a WMTS service in ArcGIS 10.1 (SP1). I am using my own custom tiles through my own WMTS service (not Geoserver) which I can successfully pull in but when I overlay some building outline shapefiles I can see an offset of about 48 meters.

I then also tried loading in the same City of Vienna's WMTS, mentioned earlier, and can see a similar offset when compared to loading in some OSM and ESRI Streets Basemaps (File>Add Data>Add Basemap...). Is there a known issue with displaying WMTS in 10.1?

I ask because I noted some WMTS fixes in 10.2 release notes - but I don't yet have access to this version to verify...

Jason


We're seeing issues in shifts depending on the Tile Matrix Set we choose.  A question I have is how the Tile Matrix set relates to the dataframe coordinate system?  Are they independent?  Or, will ArcMap always try to project back to the dataframe crs regardless of which tile matrix set I choose?
0 Kudos
GraemeBrowning
Occasional Contributor III
If your Tile Matrix is in a different datum from the data frame then you will need to apply a Transformation to have them line up.

I cannot see anything in your post to say whether you have included this step.
0 Kudos
JasonLee
New Contributor
There seems to be a few WMTS fixes in ArcGIS 10.2 - http://downloads.esri.com/support/downloads/other_/102-IssuesAddressedList.pdf, in particular:-

"NIM086059 In ArcMap when the tiling schema for WMTS is changed to googleTiling Schema, the display shifts and the basemap is overlaid with other services."

I'm pretty sure there's a bug there in my 10.1, for example if I follow the instructions for the sample WMTS from MapTiler: http://tileserver.maptiler.com/#nt27ne.mbtiles/arcgis10x.guide, and do the same in QGIS (2.0.1): http://tileserver.maptiler.com/#nt27ne.mbtiles/qgis.guide - and in both cases load in an OSM basemap (QGIS via OpenLayers plugin) making the WMTS layer semi-transparent, QGIS displays both layers overlaid perfectly whilst I can still see the offset in ArcGIS 10.1.

(I wonder if ESRI will release a patch for those of us still on v10.1)
0 Kudos
JasonLee
New Contributor
Thanks to an update from City of Vienna's website, there seems to be a workaround for ArcGIS 10.1 users: https://open.wien.at/site/erweiterung-wmts/

...they provided a workaround alternative getCapabilities document:-
http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities-arcmap.xml

(regular getCapabilities: http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml)
0 Kudos