数据处理对象-arcgis开发和应用全教程

数据处理对象FeatureDataConverter, ExportOperation对象提供以下格式的转换功能coverage, shapefile, and geodatabase ObjectLoader对象追加数据到现有的feature class或table Related objects对象FieldChecker:使用字段名来定位问题EnumInvalidObject:枚举在转换或者追加过程中无效的要素(feature) Convert, export, load FeatureDataConverter is a coclass that can convert feature classes, feature datasets, or tables to new output datasets. Use a FeatureDataConverter object to convert individual feature classes and tables, or even entire feature datasets (e.g., ArcInfo coverages). The FeatureDataConverter object lets you convert data between geodatabases, shapefiles, and coverages. Most types of feature data are currently supported (except for annotation). FeatureDataConverter is suitable for loading large amounts of data. When importing to a geodatabase, you can specify an interval for committing data; you can also specify an ArcSDE configuration keyword to control specific storage parameters for an ArcSDE geodatabase. ExportOperation is a coclass that can be used to export a feature class or a table. The ExportOperation coclass offers similar functionality to the feature data converter but in a simplified form. It corresponds to the export data function available in ArcMap by right-clicking on a layer in the Table of Contents. ObjectLoader is used to append records from one table (or feature class) to another. The IObjectLoader interface contains a single method, LoadObjects. Validating fields and records A FieldChecker object can be used to validate a fields collection. This can be especially useful when converting data between formats, as some datasets might contain field names that are illegal in other formats. A FieldChecker will produce a new fields collection with standard fixes for invalid fields it encounters (by adding an underscore to the field name, for example, UID_). The FieldChecker will provide standard names for geometry and OID fields when converting to geodatabase format (Shape and OBJECTID). When loading or converting features using the ObjectLoader or FeatureDataConverter, an enum of invalid objects is returned (IEnumInvalidObject). Using this enum, a programmer can easily see which objects (rows or features) could not be loaded or converted.
ppt 文件大小:2.6MB