com.esri.arcgis.geodatabaseextensions
Interface ITerrainAsciiDataImporter

All Superinterfaces:
ITerrainDataImporter, Serializable
All Known Subinterfaces:
ITerrainAsciiDataImporter2
All Known Implementing Classes:
TerrainAsciiDataImporter

public interface ITerrainAsciiDataImporter
extends ITerrainDataImporter, Serializable

Provides access to members that handle importing terrain source data in ASCII format.

Superseded By

ITerrainAsciiDataImporter2

Description

The ITerrainAsciiDataImporter interface is inherited from ITerrainDataImporter and adds its ASCII specific member used to specify the file format of the ASCII files that will be processed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getFileFormat()
          The format of the data to be imported.
 void setFileFormat(int pFormat)
          The format of the data to be imported.
 
Methods inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainDataImporter
addFile, addFolder, esri_import, getDataExtent, getMaxShapePointCount, getPointCount, overwriteMaxShapePointCount, setEmpty, setSourceDataSpatialReference
 

Method Detail

setFileFormat

void setFileFormat(int pFormat)
                   throws IOException,
                          AutomationException
The format of the data to be imported.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
pFormat - A com.esri.arcgis.geodatabaseextensions.esriTerrainAsciiDataFormatType constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileFormat

int getFileFormat()
                  throws IOException,
                         AutomationException
The format of the data to be imported.

Description

The supported file formats are esriTerrainAsciiDataFormatXYZ, esriTerrainAsciiDataFormatGenerate, and esriTerrainAsciiFormatXYZI.

If the format is XYZI the target feature class must have a BLOB type field named 'Intensity'. This will be used to hold the intensity values. The TerrainBlobReader can be used to interpret the values placed in the BLOBs. The Intensity field of the resulting feature class can also be included in a terrain dataset if the feature class were embedded. If the intensity values in the file are of no interest, and should be ignored, then specify the format as XYZ. In this case, the importer will not require the Intensity field and the intensity values in the file(s) will be skipped.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.geodatabaseextensions.esriTerrainAsciiDataFormatType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.