langdonms

Export Raster Field Type Records

Discussion created by langdonms on Oct 1, 2013
Latest reply on Oct 8, 2013 by langdonms
Hello,

1) Batch exporting photo field
We are in the process of switching how we manage photos attributes from raster type fields to using attachments.  We still have features with raster type fields where old photos are stored.  Is there an easy way to export these photos as jpg and naming them based off grabbing their ID number from another text field or objectID?


2) Manual Option
Manually you can click the <raster> record and "save as" the photo (shown below)

[ATTACH=CONFIG]27934[/ATTACH]. 

Here I am also running into issues.  This option will allow saving file types of ERDAS Imagine, ESRI GRID, BIL, ENVI, but these are not useful for me. 

For other file types (.jpg, .png, .gif etc) I receive the following error:

[INDENT]
"Failed to export Raster Dataset.  The existing data with the same name in this location may be locked, you may not have permission to write to the output location, you may be out of disk space, or the process was canceled."
[/INDENT]


None of these conditions are true as I have full privileges and have tried saving in different locations.

I also found this thread for IRasterValue but I am unsure how to use it for my purposes.  Any help would be appreciated.
http://forums.arcgis.com/threads/28529-Using-a-feature-class-with-a-raster-field?highlight=raster+field

Thank you.

Langdon

Attachments

Outcomes