AnsweredAssumed Answered

Use image from My Content as picture symbol in ArcGIS Online

Question asked by edienske on Dec 11, 2015
Latest reply on Dec 14, 2015 by edienske

Just wondering if it's possible to reference an image which I uploaded to My Content, as a picture symbol in a hosted feature service layer. There's not much documentation about this.

 

In theory this is possible as I can get a preview by going to the image's Item Details and clicking the image on the top right (""download archive"). The link this goes to is something like

 

https://ago-item-storage.s3.amazonaws.com/c5443e0426724b87890c82db11b4234e/myimage.png?AWSAccessKeyId=AKIAJLEZ6UDU5TV4KMBQ&Expires=1449831704&Signature=4sw%2BFjCMPiWhr0Hu6InUqMG8O9c%3D

 

This page indeed shows the image, but if it is indeed an "archive" there could be more than one version of the image.

Anyway, the URL to the image on the "archive" page is something like

 

https://myorg.maps.arcgis.com/sharing/rest/content/items/c5443e0426724b87890c82db11b4234e/data?token=M0Es-bWikUxzcYHGhYV2291WRgIbltQHYWBUE1HjBjXT45HKu8n-BHaMt231ezWkBhi-2fBFIjl6O6FZXvXieBWB9i90RfxYXCsKYW68W43RIug3UiOH_K2lvfYIVgR7_dpkBWJQiRglGTBis2_K-SEkvB7n8X4Rqp4-F-HTZTqvsSOC7wYeN_sqkneaMpG7

 

Here's the problem: Both URLs reference the image correctly but feature a token, which can expire!

Can I get a permanent reference to the image, so I can use this as a picture symbol?

 

(Note that I'm aware of the following solutions: 1) upload the image elsewhere on the internet, 2) reload the service definition from ArcMap. I'm just curious if this can be done this way, as I think it could reasonably be expected.)

 

Cheers, Eva

Outcomes