Skip to main content
Question

ArcGIS Online (attachment photos) to GDB


henriquereisgeo
Contributor
Forum|alt.badge.img+1

Hello all,

 

I am trying to use “reader” AGO data to provide a “Writer” GDB which contain the attachment photos

 

I have been advised to use this process:

In the “reader” I set up o include attachment:

and selected the attributes:

 

Set up “AttributExposer”

 

In “RasterReplacer” I am not usre what should be done:

 

 

When I try to select “Data:

Became unable to process:

 


 

 

I have been advised

“ It seems you missed the last step in my first response.
   "The arcgisonline_attachment{}.data attribute holds the raster data which you could then use the RasterReplacer to recreate the image."

You should add RasterReplacer to restore data into an image and then use a writer with the correct format (which you selected within RasterReplacer) to write those output.”

 

Does someone one know what to do?

 

Thanks

Cheers

3 replies

paalpedersen
Contributor
Forum|alt.badge.img+7
  • Contributor
  • June 3, 2024

Hi,

 

You ned to use the listExploder on the arcgionline_attachemnt list

 

then you can use the data attribute.


henriquereisgeo
Contributor
Forum|alt.badge.img+1

Hi 

Thanks

 

I could manage it, but would u know which number I should select in “Select list element numbers).

Would be which field is saved the photos?

 


All the plan

 


AliAtSafe
Safer
Forum|alt.badge.img+22
  • Safer
  • June 6, 2024
henriquereisgeo wrote:

Hi 

Thanks

 

I could manage it, but would u know which number I should select in “Select list element numbers).

Would be which field is saved the photos?

 


All the plan

 

 

Hi, @henriquereisgeo.


Thanks for posting. I tested your scenario and can confirm selecting 0 as the list element will recreate each attachment image. I wrote it out using a JPEG Writer and have seen the images exported. I hope this helps! If not, don’t hesitate to reach out!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings