Problem Publishing WCS

839
3
Jump to solution
03-03-2017 02:52 PM
AaronFriesz2
New Contributor II

I'm trying to publish some raster datasets as WCS using ArcGIS 10.4 (Desktop and Server), but have had little success. I've attempted to publish a dataset stored as an ESRI Grid, a GeoTIFF, and a Mosaic Dataset. I'm able to connect to the WCS image server, but when I try to add the image I get the following message: "Could not add the specified data object to the map. Failed to open raster dataset." 

When publishing my dataset, I select the WCS and WMS capabilities along with the Image Service. I am able to add the image as a Image Service when I connect to the ArcGIS Server just fine. I'm also able to add the published data as a WMS. The WCS is the only service that fails. Does anyone know what would cause my WCS to fail, but allow my Image Service and WMS work?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AaronFriesz2
New Contributor II

Turns out that if you are connecting to a WCS server from ArcMap you have to use the fully qualified domain name instead of using localhost in the service URL.

Example:

NO - https://localhost:6443/arcgis/rest/services/MOD13Q1_A2016177_h10v04_006_2016200095707/ImageServer
YES - https://FullyQualifiedDomain:6443/arcgis/rest/services/MOD13Q1_A2016177_h10v04_006_2016200095707/Ima...

View solution in original post

3 Replies
JayantaPoddar
MVP Esteemed Contributor

Hello Aaron,

Publish the image service without WCS enabled during publishing. Once the service gets published, login to ArcGIS Server Manager > Edit Service. Turn on the WCS capability > Save and restart the service.



Think Location
0 Kudos
AaronFriesz2
New Contributor II

Jayanta,

Thanks for the reply. I did as you said in your comment, but unfortunately I'm getting the same message when I try to add the WCS image to ArcMap.

0 Kudos
AaronFriesz2
New Contributor II

Turns out that if you are connecting to a WCS server from ArcMap you have to use the fully qualified domain name instead of using localhost in the service URL.

Example:

NO - https://localhost:6443/arcgis/rest/services/MOD13Q1_A2016177_h10v04_006_2016200095707/ImageServer
YES - https://FullyQualifiedDomain:6443/arcgis/rest/services/MOD13Q1_A2016177_h10v04_006_2016200095707/Ima...

View solution in original post