Extract raster from image service with credentials arcgis online notebooks

328
0
01-25-2023 10:13 AM
Labels (1)
CamiPawlak
New Contributor

Hi all,

I need help accessing imagery from a service layer using arcgis online notebooks. I have access to an arcgis image service which requires a username and password. When I am in arcgis pro, I have no problem adding the service layer as a server, entering my username and password, and extracting rasters from it to be stored locally on my computer. 

However, I would like to change my workflow to use the arcgis online notebooks. I thought maybe "MakeImageServerLayer" would work and allow me to sections of the raster in my "files" associated with my account.

https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/make-image-server-layer.htm

 

I have tried two things so far:

1. Used the URL to the original image service- this results in a 499 error "Authentication token required"

2. I created a link to the image service within my own content. The credentials are stored as part of the image service. When I use this URL, I get a 403 error: "Access to this resource is forbidden, regardless of authorization"

Do these errors mean I need to contact the admins who own the image service? What settings could I ask them to change in order to gain fuller access?

Does anyone know an alternative way to extract rasters from an arcgis image service that requires credentials in arcgis online notebooks?

 

Thanks!

0 Kudos
0 Replies