Select to view content in your preferred language

Export Raster Field Type Records

403
1
10-01-2013 06:31 AM
LangdonSanders3
Emerging Contributor
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+fi...

Thank you.

Langdon
0 Kudos
1 Reply
LangdonSanders3
Emerging Contributor
I am able to "Save As" .tiff and .jp2; however when I open these in another program like Adobe Illustrator, the images are in grayscale.  I did notice there is a xml file created which perhaps has the information for the other bands?

I wish to do the same thing requested in this post which did not have an answer

http://forums.arcgis.com/threads/33467-mass-export-raster-field-to-image-files
0 Kudos