Extract photo from database

3282
6
Jump to solution
03-12-2013 05:29 AM
HenrikSvenningsen
Occasional Contributor
Hi there

I have this Mobile package where there are a photo for each collected feature (in a raster field named Picture_1).

After SYNC with ArcMap they popup as expected in ArcMap with the "IDENTIFY" tool.

But is it possible to extract those pictures from the filegeodatabase to a folder or to use in another "dataframe" so I can print/plot them in layoutview ??
0 Kudos
1 Solution

Accepted Solutions
DeniseKing
Esri Regular Contributor
All,

Your ArcGIS for Windows Mobile (AGWM) workflows were not specific but did mention photo and attachments and wanted to make you aware that geodatabase attachments were introduced at AGWM 3.0 replacing raster fields for photo attachments, as well as added support for attchments to Mobile Tools toolbox, and syncronization of features & attachments through a mobile map service or check in field edits through the Synchronize Mobile Cache Tool.
http://resources.arcgis.com/en/help/windows-mobile/3.0/#/What_s_new_in_ArcGIS_for_Windows_Mobile/007...

Please see ArcGIS Help 10.1 resources for more details regarding enabling attachments, http://resources.arcgis.com/en/help/main/10.1/index.html#//01m90000000r000000.

Regards,
Denise

View solution in original post

0 Kudos
6 Replies
nev
by
New Contributor III
Yes, you can use this http://arcscripts.esri.com/scripts.asp?eLang=&eProd=65&perPage=10&eQuery=&Submit2=Search.

So create a mobile cache from your data then run this tool on the cache, it will exract the pictures to .jpg and create a shapefile.  You can then use the globalid to match up the original features with the filename of the extracted pictures.

Mick
0 Kudos
HenrikSvenningsen
Occasional Contributor
Yes, you can use this http://arcscripts.esri.com/scripts.asp?eLang=&eProd=65&perPage=10&eQuery=&Submit2=Search.

So create a mobile cache from your data then run this tool on the cache, it will exract the pictures to .jpg and create a shapefile.  You can then use the globalid to match up the original features with the filename of the extracted pictures.

Mick


Thanks

But will it work on a x64 machine, Windows 7, ArcGIS Desktop 10.1.1 and Mobile 10.1.1 ?

If I run the tool from it's folder it crashes down 2 seconds later ???
0 Kudos
PeterTimmers
Occasional Contributor III
Let me get this straight you're want to extract a raster field to a file (jpg?? )

Because with help from the forums I wrote something in .net a few years ago.. still going strong.  Mind you our Db is still SQL2008 and SDE 9.3.  Will be upgrading to 10.1.1 soon and using attachments instead.

http://forums.arcgis.com/threads/30272-Raster-Fields-to-Files-with-Arcpy?p=101505#post101505
0 Kudos
DeniseKing
Esri Regular Contributor
All,

Your ArcGIS for Windows Mobile (AGWM) workflows were not specific but did mention photo and attachments and wanted to make you aware that geodatabase attachments were introduced at AGWM 3.0 replacing raster fields for photo attachments, as well as added support for attchments to Mobile Tools toolbox, and syncronization of features & attachments through a mobile map service or check in field edits through the Synchronize Mobile Cache Tool.
http://resources.arcgis.com/en/help/windows-mobile/3.0/#/What_s_new_in_ArcGIS_for_Windows_Mobile/007...

Please see ArcGIS Help 10.1 resources for more details regarding enabling attachments, http://resources.arcgis.com/en/help/main/10.1/index.html#//01m90000000r000000.

Regards,
Denise
0 Kudos
HenrikSvenningsen
Occasional Contributor
Denise..SPLENDID...How could I miss that.......it just works overwhelming 😉

Now I just need to "discover" an easy way to get them out, so I can plot/print them beside the map in the layout view (like a kind of extent indicator to the feature they belongs to).
0 Kudos
NickDeMerchant
New Contributor
Hi Denise,

Thanks for all your help with posting in trying to clear things up on using attachments.  Maybe you have some further info for me...I'm using mobile 10.1.1 and have server 10.0 in the background with my data in a SQL database with the feature class enabled for attachments.  I refered to:

http://resources.arcgis.com/en/help/windows-mobile/10.1.1/index.html#//007v0000003z000000

This issue i'm having is the attachment option does not seem to appear when I try and collect features for the attachment enabledfeature class.  Would you know of any possible issues with 10.1.1 and attachments or what I may be missing?  Would the fact thatI am using server 10.0 be an issue?  Does it need to also be at 10.1.1?

Also, have you or does anyone know how I would then be able to display these photos in the flex viewer real time?  This is the big value so as information is collected it is viewed on sync real time on the flex viewer.  Any info would be hugely appreciated.


Thanks for any info.

Nick




All,

Your ArcGIS for Windows Mobile (AGWM) workflows were not specific but did mention photo and attachments and wanted to make you aware that geodatabase attachments were introduced at AGWM 3.0 replacing raster fields for photo attachments, as well as added support for attchments to Mobile Tools toolbox, and syncronization of features & attachments through a mobile map service or check in field edits through the Synchronize Mobile Cache Tool.
http://resources.arcgis.com/en/help/windows-mobile/3.0/#/What_s_new_in_ArcGIS_for_Windows_Mobile/007...

Please see ArcGIS Help 10.1 resources for more details regarding enabling attachments, http://resources.arcgis.com/en/help/main/10.1/index.html#//01m90000000r000000.

Regards,
Denise
0 Kudos