06-21-2016 12:23 PM
Does anyone know if is possible (programatically) to add an ESRI Rest Service as a layer into GeoSpatial Portal.
The Ordnance Survey in Ireland provide access to their maps (via the web) using an ESRI Rest Service (very fast access and tiles like Google Maps etc) and a WMS service (which is very, very slow to access).
We have looked at creating a WMTS (that links to the WMS) and while this works - it is not a great solution.
Anyone tried this before (ESRI Rest Service layer in GeoSpatial Portal)?
Solved! Go to Solution.
07-04-2016 02:37 AM - edited 07-04-2016 03:26 AM
I don't think this is possible in plain Geospatial Portal. It would require defining of new service type/map layer object classes for Portal to use and
I'm not sure this is exposed for customization.Supposedly there is already an example describing how to do that in the Portal SDK package.
One especially hackish solution that comes to my mind would be to take your WMTS over WMS approach a step further, by skipping the SDI Cache and WMS portion altogether Why not simply mock the WMTS interface over the ESRI RESTful service?
I would imagine a static capabilities.xml that would be filled with the proper metadata describing the ESRI RESTful service like a WMTS, and a url rewrite module that would rewrite the WMTS DCP-style calls like ?service=WMTS&version=1.1.0&request=GetTile&tileCol=$x&tileRow=$y&layer=$layername&tilematrixset=$tilematrixset&tilematrix=$level into a resource url like http://host/RESTful/$layer/$level/$x/$y
08-02-2016 06:44 AM
It has come as a surprise to me, but actually Geospatial Portal supports RESTful style of WMTS out of the box
I've managed to view ESRI's sample http://sampleserver6.arcgisonline.com/arcgis/rest/services/WorldTimeZones/MapServer/WMTS at http://demo.hexagongeospatial.com/webgis without a problem. And it does indeed use the RESTful way of retrieving tiles.