Hexagon Geospatial
MENU

WebGIS

Need a push in the right direction when configuring WebMap, Portal or SDI services? Looking for hints and tips, or just looking for Ideas and information? The WebGIS discussion board is where you start those discussions, connect and share information.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
SMC
Contributor
Posts: 51
Registered: ‎04-11-2016
Accepted Solution

GeoSpatial Portal and ArcGIS REST

Hi,

 

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)?

 

Regards,
Simon 

Staff
Posts: 294
Registered: ‎11-05-2015

Re: GeoSpatial Portal and ArcGIS REST

[ Edited ]

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 Smiley Wink 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

Staff
Posts: 294
Registered: ‎11-05-2015

Re: GeoSpatial Portal and ArcGIS REST

It has come as a surprise to me, but actually Geospatial Portal supports RESTful style of WMTS out of the box Smiley Happy

 

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.

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.