Select to view content in your preferred language

Test WMS image access/permission

314
0
11-02-2023 08:58 PM
ToyotaT18
Regular Contributor

I access a WMS service, which contains many images available to select on the server. Some of the images I do not currently have permission to access, when I try to open these I get a blank layer - no image, but also no error message etc. The layer name exists though.

I want to bulk test my permission for each image in the WMS service. I have a footprint file so I can use arcpy to loop through each image name and (try to) open the image.

Is there in way in arcpy to determine whether a WMS image has actually opened or not? I tried using function arcpy.management.GetCellValue(), but it just crashes ArcGIS Pro immediately. The Explore tool returns some info (pixel RGB values etc) in the pop-up window which would be useful, but I'm not sure how to get this same info using arcpy?

Thanks, Tim

0 Kudos
0 Replies