Skip to content

ITerrainDataImporter Interface

Provides access to members that handle importing terrain source data.

Members

Name Description
Method AddFile Include a specific file to be loaded upon Import.
Method AddFolder Include a folder, and potentially subfolders, to be loaded upon import.
Method GetDataExtent The XYZ extent of data contained in files/folders to be added.
Method GetPointCount The number of points in the files/folders to be added.
Method Import Loads the specified data, based on the current properties, into the target feature class.
Read-only property MaxShapePointCount The maximum number of points loaded into individual multipoint shapes.
Method OverwriteMaxShapePointCount Changes the default maximum number of points loaded into individual multipoint shapes.
Method SetEmpty Clears all properties.
Method SetSourceDataSpatialReference Set source data's spatial reference.

ITerrainDataImporter.AddFile Method

Include a specific file to be loaded upon Import.

Public Sub AddFile ( _
    ByVal fileName As String _
)
public void AddFile (
    string fileName
);

ITerrainDataImporter.AddFolder Method

Include a folder, and potentially subfolders, to be loaded upon import.

Public Sub AddFolder ( _
    ByVal folderName As String, _
    ByVal fileExtension As String, _
    ByVal bRecursive As Boolean _
)
public void AddFolder (
    string folderName,
    string fileExtension,
    bool bRecursive
);

ITerrainDataImporter.GetDataExtent Method

The XYZ extent of data contained in files/folders to be added.

Public Function GetDataExtent ( _
    ByVal pTargetSpatialReference As ISpatialReference _
) As IEnvelope
public IEnvelope GetDataExtent (
    ISpatialReference pTargetSpatialReference
);

ITerrainDataImporter.GetPointCount Method

The number of points in the files/folders to be added.

Public Function GetPointCount ( _
) As Double
public double GetPointCount (
);

ITerrainDataImporter.Import Method

Loads the specified data, based on the current properties, into the target feature class.

Public Sub Import ( _
    ByVal pOutputFeatureClass As IFeatureClass, _
    ByVal TileSize As Double, _
    ByVal ZFactor As Double, _
    ByVal pAOI As IEnvelope, _
    ByVal pTrackCancel As ITrackCancel, _
    ByRef pcOutsidePoints As Integer _
)
public void Import (
    IFeatureClass pOutputFeatureClass,
    double TileSize,
    double ZFactor,
    IEnvelope pAOI,
    ITrackCancel pTrackCancel,
    ref int pcOutsidePoints
);

ITerrainDataImporter.MaxShapePointCount Property

The maximum number of points loaded into individual multipoint shapes.

Public ReadOnly Property MaxShapePointCount As Integer
public int MaxShapePointCount {get;}

ITerrainDataImporter.OverwriteMaxShapePointCount Method

Changes the default maximum number of points loaded into individual multipoint shapes.

Public Sub OverwriteMaxShapePointCount ( _
    ByVal newCount As Integer _
)
public void OverwriteMaxShapePointCount (
    int newCount
);

ITerrainDataImporter.SetEmpty Method

Clears all properties.

Public Sub SetEmpty ( _
)
public void SetEmpty (
);

ITerrainDataImporter.SetSourceDataSpatialReference Method

Set source data's spatial reference.

Public Sub SetSourceDataSpatialReference ( _
    ByVal pSpatialRef As ISpatialReference _
)
public void SetSourceDataSpatialReference (
    ISpatialReference pSpatialRef
);

Classes that implement ITerrainDataImporter

Classes Description
TerrainAsciiDataImporter Esri Terrain ASCII Data Importer object.
TerrainLasDataImporter Esri Terrain LAS Data Importer object.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.