I have taken photos using Collector. Each photo is associated with a point. This is in an AGOL WebMap.
I am able to download the File Geodatabase by following these instructions:
But, this only downloads the File Geodatabase, it does not download the actual photos which were taken using Collector for ArcGIS.
Any ideas on how to get the actual photos to download?
Solved! Go to Solution.
Hi Tim,
I don't have trouble getting the image attachments using the workflow you describe. You may want to create a Tech Support case to look into whether there are problems specific to your service. Alternatively, there are a few other ways that you can download your services to file geodatabase (including attachments).
Tim,
It is likely that your photos are in the geodatabase as "attachments". You can likely get each one, but if you wanted to extract them all as a batch process, take a look at this suggestion:
Do I need to create a new Toolbox to do this?
I haven't used this script but it looks like you need to save that python code as its own script (with the .py extension), then add that script to your toolboxes in Desktop. So it's not a new toolbox, it's basically loading the script that you wrote.
About 7 years too late, but we have found we need to do this quite often. Since the support page is for ArcMap and assumes you know how to make script toolboxes, we needed to write a more step-by-step guide for people who are doing this for the first time and have never made script toolboxes. I just thought I would share since this page helped me learn how to do this years ago.
Apologies for the formatting, copied from a word doc, so it didn't come in quite perfectly. We would like to eventually edit the code so it has a drop-down of tables in the currently opened map and allows you to assign the name of the photo based on an identifier or combination of identifiers in the attribute table. I'm not a solid coding person myself, so I haven't had the time to dive into that.
How to Create the Photo Extraction Toolbox with Python
Return to ArcGIS Pro, try again to add your python code. If it is not there immediately, click refresh at the top of the window.
Use the New Toolbox
Hey. I tried using your script but I keep getting syntax errors on line 12. Any ideas? Would it be possible to get in contact to go over the issue?
Hi Tim,
I don't have trouble getting the image attachments using the workflow you describe. You may want to create a Tech Support case to look into whether there are problems specific to your service. Alternatively, there are a few other ways that you can download your services to file geodatabase (including attachments).
I have encountered the same problem and I filed tech support issue. Our national Esri support where able to duplicate the bugg and filed an issue to Esri.Inc a month ago but they haven´t found a solution yet.
I have other Feature-Layer where it works as intended.