Imports TIN from LandXML file.
[Visual Basic .NET] Public Sub ImportFromLandXML ( _ ByVal xmlName As String, _ ByVal TinName As String, _ ByVal pIndices As ILongArray, _ ByVal pTrackCancel As ITrackCancel, _ ByRef ppOutTinNames As IStringArray _ )
[C#] public void ImportFromLandXML ( string xmlName, string TinName, ILongArray pIndices, ITrackCancel pTrackCancel, ref IStringArray ppOutTinNames );
[C++]
HRESULT ImportFromLandXML(
BSTR xmlName,
BSTR TinName,
ILongArray* pIndices,
ITrackCancel* pTrackCancel,
IStringArray** ppOutTinNames
);
[C++]Parameters
xmlName [in] xmlName is a parameter of type BSTR TinName [in] TinName is a parameter of type BSTR pIndices [in]pIndices is a parameter of type ILongArray
pTrackCancel [in]pTrackCancel is a parameter of type ITrackCancel
ppOutTinNames [out]ppOutTinNames is a parameter of type IStringArray
Product Availability
Description
Creates ArcGIS TINs by importing them from LandXML files. The output TINs will be readable by ArcGIS 10.0 and later. They can not be read by earlier versions because they will be constrained triangulations which are not supported by versions earlier than 10.0.
xmlName is a string containing the full path to the LandXML file.
TinName is the base name for the output. The base name includes a full path to the target folder plus a name for the TIN(s). The base name must be unique and is used to name the first TIN. If it already exists an error is returned. If multiple TINs are being extracted then the subsequent TINs are named using the base plus an appended number.
pIndices is a LongArray which indicates which TINs from the input LandXML file to extract. Indices start at base 1. See GetTinNamesFromLandXML to determine what TINs are in a LandXML file. A NULL can be passed in which case all TINs will be imported.
pTrackCancel references a CancelTracker and can be used to cancel the process. To bypass this feature pass a NULL pointer.
pOutTinNames contains the short name of the output TIN(s). This is needed to discover what names were used when more than one TIN is output since unique names are synthesized by the importer.