Skip to main content
Question

How do I extract attachments from an ArcGIS online feature service?

  • November 12, 2020
  • 4 replies
  • 750 views

Hi,

 

I know this has been asked a few years ago but is there a straight forward way to extract attachments from an ArcGIS online feature service?

Thanks

andreaatsafe
Safer
Forum|alt.badge.img+10

Hi @liskett162​ ,

To read attachments from an ArcGIS Online Feature Service, there is a reader feature type parameter "Include Attachments" which you set to "yes" (by default this setting is set to No):

AGOL_Attachment 

And then you will want to expose the arcgisonline_attachment{} format attributes:

AGOL_attributes 

The arcgisonline_attachment{}.data attribute holds the raster data which you could then use the RasterReplacer to recreate the image.

 

Hope this helps!

-Andrea


felipeverdu
Enthusiast
Forum|alt.badge.img+10

Hi @andreaatsafe​ ,

I don't seem to find the include attachments parameter for the ArcGIS Online Feature Service using a feature reader.

Any ideas?

PD.- I am using FME 2022.2.4 Build 22792

Br,

Felipe Verdú


nielsgerrits
VIP
Forum|alt.badge.img+54
felipeverdu wrote:

Hi @andreaatsafe​ ,

I don't seem to find the include attachments parameter for the ArcGIS Online Feature Service using a feature reader.

Any ideas?

PD.- I am using FME 2022.2.4 Build 22792

Br,

Felipe Verdú

I have not checked this in 2022, but in 2021 this option only exists in the classic reader, not in the FeatureReader.


salvaleonrp
Enthusiast
Forum|alt.badge.img+15
nielsgerrits wrote:

I have not checked this in 2022, but in 2021 this option only exists in the classic reader, not in the FeatureReader.

Correct @nielsgerrits​. I just put in a case for the Include Attachment parameter to be visible in the FeatureReader. On the flip side, for Portal, the classic reader does not have Resolve Domains parameter that is visible in the FeatureReader.

 

UX & parameters for the FeatureReader is complex but there must be some certain amount of parity on the important ones.


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