REST API- how to determine if WMS and WCS are exposed on image service?

625
1
01-06-2021 08:00 AM
Bob_Bistrais
New Contributor

When using the REST API, normally one can see which OGC extensions are supported by the service, under the supportedExtensions property.    But this does not appear to be the case with image services- the supportedExtensions is not included.

Is there any way to determine, using the REST API, whether a given image service has OGC types enabled?

1 Reply
by Anonymous User
Not applicable

Hi Bob,

If you browse to the REST endpoint of the image service, you should see the OGC capabilities listed in the upper left-hand corner. 

CalvinLietz_0-1610577852371.png

As for through the API, I couldn't find anything exposing the extensions in :6443/arcgis/rest/services/serviceName/ImageServer. However, if you look in the admin services directory, there is a parameter "extensions" that lists out all of the extensions exposed on the image service. 

CalvinLietz_1-1610578348241.png

This would be formatted: "admin/services/serviceName.ImageServer?f=pjson"

-Calvin

0 Kudos