Select to view content in your preferred language

Export photos stored in geodatabase

1957
6
08-08-2023 02:56 PM
GregZartman
Emerging Contributor

I have a geodatabase in AGOL that I created for data collection using field maps.  One of the feature classes is a point class with data and photo attachments taken in the field.  Is there a way to export some sort of table, report, etc that would include the data in the database along with the photo associated with the data?

 

Thanks

6 Replies
swfbtucs
Occasional Contributor
I created a python script that exports the images and gives them a filename associated with an attribute field value. It's not a report, but it certainly helped out with the several thousand points we had and the several images attached to each point. You might be able to use it as a basis for a script that actually would write the file names to a delimited text file.
0 Kudos
RachelManagh
New Contributor

Could you please post the python script? I am having the same issue as above. 

0 Kudos
ReNaeNowicki
New Contributor
I apologize. I no longer have access to the script.
0 Kudos
BobbyS
by
Emerging Contributor

Hello!  "swfbtucs", you mention you created a script to do this...is it posted?  I am also confused as to why someone named "ReNaeNowicki" commented that they do not have access to the script?  ReNaeNowicki is not who was asked for the script.
Does anyone have this script or something similar?  I am very interested and not sure why there are not more resources out there to address the simple task of dumping out photos from a featureclass to a folder.

0 Kudos
AndreasHall
Esri Contributor

If you just want to dump out the photos you should try this new tool: Export Attachments (Data Management)—ArcGIS Pro | Documentation

0 Kudos
AndreasHall
Esri Contributor

Have you tried the report functionality in Pro?
Reports in ArcGIS Pro—ArcGIS Pro | Documentation