[Geoserver-users] Cascading WTMS from ArcGIS Server in GeoServer

I am having problems cascading WTMS from ArcGIS (v10.5) in GeoServer (v2.13), (Java Jre1.8.0_121). I can create the store and publish a layer but when i go to Layer Preview i get a screen like the below. The same layer is visible in QGIS, i just cannot seem to get it to cascade in GeoServer.

Looking at the GeoServer log (extract below) ArcGIC seems to be issuing a 400 ‘not found error’ to the tile request.

2018-05-09 16:35:27,922 ERROR [geotools.tile] - Failed to load image: https://--esr73/arcgis/rest/services/Basemaps/Locate/MapServer/WMTS?request=getTile&tilematrixset=default028mm&TileRow=80&service=WMTS&format=image%2Fpng&style=&TileCol=122&version=1.0.0&layer=Basemaps_Locate&TileMatrix=8& java.io.IOException: Connection returned code 400

Is it possible there is some WMTS interoperability issues between ArcGIC and GeoServer?

Many Thanks for any help on this,

Thanks

Adam

enter image description here

What does your GetCapabilities request url look like? I’ve had some success in the past with ArcGIS rest services by eliminating the version and format from the get request url. For example:

Instead of: https://example.com/arcgis/rest/services/organization/layer/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

Try: https://example.com/arcgis/rest/services/organization/layer/MapServer/WMTS?

I have no idea why this worked for me, but you could be sending in a bad request–an easy thing to try anyway.

Cheers,
Todd

image001.png

···

On Thu, May 10, 2018 at 3:54 AM, Whydle, Adam (Comms & Control Solutions) <Adam.Whydle@anonymised.com218…> wrote:

I am having problems cascading WTMS from ArcGIS (v10.5) in GeoServer (v2.13), (Java Jre1.8.0_121). I can create the store and publish a layer but when i go to Layer Preview i get a screen like the below. The same layer is visible in QGIS, i just cannot seem to get it to cascade in GeoServer.

Looking at the GeoServer log (extract below) ArcGIC seems to be issuing a 400 ‘not found error’ to the tile request.

2018-05-09 16:35:27,922 ERROR [geotools.tile] - Failed to load image: https://--esr73/arcgis/rest/services/Basemaps/Locate/MapServer/WMTS?request=getTile&tilematrixset=default028mm&TileRow=80&service=WMTS&format=image%2Fpng&style=&TileCol=122&version=1.0.0&layer=Basemaps_Locate&TileMatrix=8& java.io.IOException: Connection returned code 400

Is it possible there is some WMTS interoperability issues between ArcGIC and GeoServer?

Many Thanks for any help on this,

Thanks

Adam

enter image description here

This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I haven’t checked your specific issue as you don’t provide a full URL but it is probably the same issue that I have just committed a fix for. This should show up in the GeoServer master nightly build later today. If you want to test and report back I’d be grateful.

Ian

···

On Thu, May 10, 2018 at 3:54 AM, Whydle, Adam (Comms & Control Solutions) <Adam.Whydle@anonymised.com> wrote:

I am having problems cascading WTMS from ArcGIS (v10.5) in GeoServer (v2.13), (Java Jre1.8.0_121). I can create the store and publish a layer but when i go to Layer Preview i get a screen like the below. The same layer is visible in QGIS, i just cannot seem to get it to cascade in GeoServer.

Looking at the GeoServer log (extract below) ArcGIC seems to be issuing a 400 ‘not found error’ to the tile request.

2018-05-09 16:35:27,922 ERROR [geotools.tile] - Failed to load image: https://--esr73/arcgis/rest/services/Basemaps/Locate/MapServer/WMTS?request=getTile&tilematrixset=default028mm&TileRow=80&service=WMTS&format=image%2Fpng&style=&TileCol=122&version=1.0.0&layer=Basemaps_Locate&TileMatrix=8& java.io.IOException: Connection returned code 400

Is it possible there is some WMTS interoperability issues between ArcGIC and GeoServer?

Many Thanks for any help on this,

Thanks

Adam

enter image description here

This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ian Turton

Hi Todd,

Thanks for the feedback, it looks like a promising solution has been identified by one of the GeoServer developers identified in the thread

https://gis.stackexchange.com/questions/282403/cascading-wtms-from-arcgis-server-in-geoserver

Thanks

Adam

Adam Whydle

Project Architect

Capita

Secure Solutions and Services

Methuen Park, Bath Road, Chippenham, SN14 0TW

Mobile: +44 (0)7734 129476

www.capitacontrolsolutions.co.uk

image001.png

···

What does your GetCapabilities request url look like? I’ve had some success in the past with ArcGIS rest services by eliminating the version and format from the get request url. For example:

Instead of: https://example.com/arcgis/rest/services/organization/layer/MapServer/WMTS/1.0.0/WMTSCapabilities.xml

Try: https://example.com/arcgis/rest/services/organization/layer/MapServer/WMTS?

I have no idea why this worked for me, but you could be sending in a bad request–an easy thing to try anyway.

Cheers,

Todd

On Thu, May 10, 2018 at 3:54 AM, Whydle, Adam (Comms & Control Solutions) <Adam.Whydle@…3218…> wrote:

I am having problems cascading WTMS from ArcGIS (v10.5) in GeoServer (v2.13), (Java Jre1.8.0_121). I can create the store and publish a layer but when i go to Layer Preview i get a screen like the below. The same layer is visible in QGIS, i just cannot seem to get it to cascade in GeoServer.

Looking at the GeoServer log (extract below) ArcGIC seems to be issuing a 400 ‘not found error’ to the tile request.

2018-05-09 16:35:27,922 ERROR [geotools.tile] - Failed to load image: https://--esr73/arcgis/rest/services/Basemaps/Locate/MapServer/WMTS?request=getTile&tilematrixset=default028mm&TileRow=80&service=WMTS&format=image%2Fpng&style=&TileCol=122&version=1.0.0&layer=Basemaps_Locate&TileMatrix=8& java.io.IOException: Connection returned code 400

Is it possible there is some WMTS interoperability issues between ArcGIC and GeoServer?

Many Thanks for any help on this,

Thanks

Adam

enter image description here

This email is security checked and subject to the disclaimer on web-page: http://www.capita.co.uk/email-disclaimer.aspx


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This message has been scanned by Capita’s systems, but if you believe it to be spam then click here to report this email as spam.