HowTo: Batch export attachments from a feature class
【相关信息】
Article ID: 41763
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS for Desktop Advanced 10.1, 10.2
ArcGIS for Desktop Standard 10.1, 10.2
ArcGIS for Desktop Basic 10.1, 10.2
Platforms:
Windows Vista, Server 2008, Windows 7, Windows 8, Server 2012
【问题描述】
There are no geoprocessing tools that allow users to export and save all attachments locally. The instructions provided below describe a possible solution.
The following script iterates through the entire attachment table of a single feature class and copies all of the attachments (saved as BLOBs, or binary large objects) to file.
Article ID: 41763
Software:
ArcGIS - ArcEditor 10
ArcGIS - ArcInfo 10
ArcGIS - ArcView 10
ArcGIS for Desktop Advanced 10.1, 10.2
ArcGIS for Desktop Standard 10.1, 10.2
ArcGIS for Desktop Basic 10.1, 10.2
Platforms:
Windows Vista, Server 2008, Windows 7, Windows 8, Server 2012
【问题描述】
There are no geoprocessing tools that allow users to export and save all attachments locally. The instructions provided below describe a possible solution.
The following script iterates through the entire attachment table of a single feature class and copies all of the attachments (saved as BLOBs, or binary large objects) to file.
1 个回复
易智瑞技术支持
赞同来自:
This script requires the input table to be the standard attachment table created when attachments are enabled on a feature class. This is because the below script relies on the 'DATA', 'ATT_NAME' and 'ATTACHMENTID' fields stored in this table. The typical naming convention should append '_ATTACH' to the end of the table name.
0. Copy and paste the following script into Notepad and save it as ExportAttachments.py.
【创建及修改时间】
Created: 11/4/2013
Last Modified: 10/27/2014
【原文链接】
http://support.esri.com/en/kno ... 41763
要回复问题请先登录或注册