com.esri.arcgis.geodatabaseextensions
Class TerrainLasDataImporter

java.lang.Object
  extended by com.esri.arcgis.geodatabaseextensions.TerrainLasDataImporter
All Implemented Interfaces:
ITerrainDataImporter, ITerrainLasDataImporter, ITerrainLasDataInfo, ITerrainLasDataInfo2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TerrainLasDataImporter
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITerrainDataImporter, ITerrainLasDataImporter, ITerrainLasDataInfo, ITerrainLasDataInfo2

COM Class 'TerrainLasDataImporter'. Generated 3/19/2015 1:20:49 PM from 'C:\ArcGIS\COM\esriGeoDatabaseExtensions.olb'

Description 'Esri Terrain LAS Data Importer object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainLasDataImporter
IID, IID80e83e8c_2ec1_4090_b399_411fa593b25b, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainDataImporter
IID36b3f42a_abe0_440e_a266_8b8592c74c82
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainLasDataInfo2
IID, IID08ac58e1_f142_45db_9847_0d28f6d7d241, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainLasDataInfo
IIDc1b7f6d6_4f81_4f5b_9922_5f74d3eb1e94
 
Constructor Summary
TerrainLasDataImporter()
          Constructs a TerrainLasDataImporter using ArcGIS Engine.
TerrainLasDataImporter(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainLasDataImporter theTerrainLasDataImporter = (TerrainLasDataImporter) obj;
 
Method Summary
 void addFile(java.lang.String fileName)
          Include a specific file to be loaded upon Import.
 void addFolder(java.lang.String folderName, java.lang.String fileExtension, boolean bRecursive)
          Include a folder, and potentially subfolders, to be loaded upon import.
 void addProperty(int property, java.lang.String fieldName)
          Used to indicate which, if any, LiDAR properties to retain and load into the target feature class in a BLOB field.
 void addReturnNumber(int returnNumber)
          Used to indicate which points to extract from the LAS files based on their LiDAR return number.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void esri_import(IFeatureClass pOutputFeatureClass, double tileSize, double zFactor, IEnvelope pAOI, ITrackCancel pTrackCancel, int[] pcOutsidePoints)
          Loads the specified data, based on the current properties, into the target feature class.
static java.lang.String getClsid()
          getClsid.
 IEnvelope getDataExtent()
          The XYZ extent of points in the LAS file.
 IEnvelope getDataExtent(ISpatialReference pTargetSpatialReference)
          The XYZ extent of data contained in files/folders to be added.
 int getFileSourceID()
          The LAS file's source ID.
 int getFlightDateJulian()
          The flight date based on the Julian calendar.
 java.lang.String getGeneratingSoftware()
          The software used to create the LAS file.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getMaxShapePointCount()
          The maximum number of points loaded into individual multipoint shapes.
 int getNumberOfPointRecords()
          The number of points in the LAS file.
 int getNumberOfPointsByReturn(int returnNumber)
          The number of points in the LAS file based on the specified LiDAR return number.
 double getPointCount()
          The number of points in the files/folders to be added.
 int getPointDataFormat()
          The record format for points in the LAS file
 void getPointInfoByClassCode(ITrackCancel pTrackCancel, ILongArray pCodes, IDoubleArray[] ppCounts, IArray[] ppExtents)
          Get the number of points corresponding to the specified class codes.
 ISpatialReference getSpatialReference()
          The spatial reference of the LAS file.
 java.lang.String getSystemID()
          The hardware system used to collect the LiDAR data in the LAS file.
 void getVersion(int[] pMajor, int[] pMinor)
          The version of the LAS file.
 int getYear()
          The year the data in the LAS file was collected.
 int hashCode()
          the hashcode for this object
 void init(java.lang.String lasFileName)
          Used to set the name of the LAS file for which information is to be retrieved.
 boolean isStandardGpsTime()
          Indicates if the GPS time is standard GPS Time.
 void overwriteMaxShapePointCount(int newCount)
          Changes the default maximum number of points loaded into individual multipoint shapes.
 void release()
          Release a TerrainLasDataImporter.
 void setClassCodes(ILongArray pCodes)
          Used to indicate which points to load based on one or more LAS classification codes.
 void setEmpty()
          Clears all properties.
 void setSourceDataSpatialReference(ISpatialReference pSpatialRef)
          Set source data's spatial reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainLasDataImporter

public TerrainLasDataImporter()
                       throws java.io.IOException,
                              java.net.UnknownHostException
Constructs a TerrainLasDataImporter using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TerrainLasDataImporter

public TerrainLasDataImporter(java.lang.Object obj)
                       throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TerrainLasDataImporter theTerrainLasDataImporter = (TerrainLasDataImporter) obj;

Construct a TerrainLasDataImporter using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TerrainLasDataImporter.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TerrainLasDataImporter.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setSourceDataSpatialReference

public void setSourceDataSpatialReference(ISpatialReference pSpatialRef)
                                   throws java.io.IOException,
                                          AutomationException
Set source data's spatial reference.

Specified by:
setSourceDataSpatialReference in interface ITerrainDataImporter
Parameters:
pSpatialRef - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEmpty

public void setEmpty()
              throws java.io.IOException,
                     AutomationException
Clears all properties.

Specified by:
setEmpty in interface ITerrainDataImporter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMaxShapePointCount

public int getMaxShapePointCount()
                          throws java.io.IOException,
                                 AutomationException
The maximum number of points loaded into individual multipoint shapes.

Specified by:
getMaxShapePointCount in interface ITerrainDataImporter
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

overwriteMaxShapePointCount

public void overwriteMaxShapePointCount(int newCount)
                                 throws java.io.IOException,
                                        AutomationException
Changes the default maximum number of points loaded into individual multipoint shapes.

Specified by:
overwriteMaxShapePointCount in interface ITerrainDataImporter
Parameters:
newCount - The newCount (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFile

public void addFile(java.lang.String fileName)
             throws java.io.IOException,
                    AutomationException
Include a specific file to be loaded upon Import.

Specified by:
addFile in interface ITerrainDataImporter
Parameters:
fileName - The fileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFolder

public void addFolder(java.lang.String folderName,
                      java.lang.String fileExtension,
                      boolean bRecursive)
               throws java.io.IOException,
                      AutomationException
Include a folder, and potentially subfolders, to be loaded upon import.

Specified by:
addFolder in interface ITerrainDataImporter
Parameters:
folderName - The folderName (in)
fileExtension - The fileExtension (in)
bRecursive - The bRecursive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataExtent

public IEnvelope getDataExtent(ISpatialReference pTargetSpatialReference)
                        throws java.io.IOException,
                               AutomationException
The XYZ extent of data contained in files/folders to be added.

Specified by:
getDataExtent in interface ITerrainDataImporter
Parameters:
pTargetSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointCount

public double getPointCount()
                     throws java.io.IOException,
                            AutomationException
The number of points in the files/folders to be added.

Specified by:
getPointCount in interface ITerrainDataImporter
Returns:
The pCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_import

public void esri_import(IFeatureClass pOutputFeatureClass,
                        double tileSize,
                        double zFactor,
                        IEnvelope pAOI,
                        ITrackCancel pTrackCancel,
                        int[] pcOutsidePoints)
                 throws java.io.IOException,
                        AutomationException
Loads the specified data, based on the current properties, into the target feature class.

Specified by:
esri_import in interface ITerrainDataImporter
Parameters:
pOutputFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
tileSize - The tileSize (in)
zFactor - The zFactor (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pcOutsidePoints - The pcOutsidePoints (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addProperty

public void addProperty(int property,
                        java.lang.String fieldName)
                 throws java.io.IOException,
                        AutomationException
Used to indicate which, if any, LiDAR properties to retain and load into the target feature class in a BLOB field.

Specified by:
addProperty in interface ITerrainLasDataImporter
Parameters:
property - A com.esri.arcgis.geodatabaseextensions.esriTerrainLasDataPropertyType constant (in)
fieldName - The fieldName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addReturnNumber

public void addReturnNumber(int returnNumber)
                     throws java.io.IOException,
                            AutomationException
Used to indicate which points to extract from the LAS files based on their LiDAR return number.

Specified by:
addReturnNumber in interface ITerrainLasDataImporter
Parameters:
returnNumber - A com.esri.arcgis.geodatabaseextensions.esriTerrainLasReturnType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setClassCodes

public void setClassCodes(ILongArray pCodes)
                   throws java.io.IOException,
                          AutomationException
Used to indicate which points to load based on one or more LAS classification codes.

Specified by:
setClassCodes in interface ITerrainLasDataImporter
Parameters:
pCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

init

public void init(java.lang.String lasFileName)
          throws java.io.IOException,
                 AutomationException
Used to set the name of the LAS file for which information is to be retrieved.

Specified by:
init in interface ITerrainLasDataInfo
Parameters:
lasFileName - The lasFileName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersion

public void getVersion(int[] pMajor,
                       int[] pMinor)
                throws java.io.IOException,
                       AutomationException
The version of the LAS file.

Specified by:
getVersion in interface ITerrainLasDataInfo
Parameters:
pMajor - The pMajor (out: use single element array)
pMinor - The pMinor (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSystemID

public java.lang.String getSystemID()
                             throws java.io.IOException,
                                    AutomationException
The hardware system used to collect the LiDAR data in the LAS file.

Specified by:
getSystemID in interface ITerrainLasDataInfo
Returns:
The pID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getGeneratingSoftware

public java.lang.String getGeneratingSoftware()
                                       throws java.io.IOException,
                                              AutomationException
The software used to create the LAS file.

Specified by:
getGeneratingSoftware in interface ITerrainLasDataInfo
Returns:
The pName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFlightDateJulian

public int getFlightDateJulian()
                        throws java.io.IOException,
                               AutomationException
The flight date based on the Julian calendar.

Specified by:
getFlightDateJulian in interface ITerrainLasDataInfo
Returns:
The pDate
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getYear

public int getYear()
            throws java.io.IOException,
                   AutomationException
The year the data in the LAS file was collected.

Specified by:
getYear in interface ITerrainLasDataInfo
Returns:
The pYear
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointDataFormat

public int getPointDataFormat()
                       throws java.io.IOException,
                              AutomationException
The record format for points in the LAS file

Specified by:
getPointDataFormat in interface ITerrainLasDataInfo
Returns:
The pFormat
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointRecords

public int getNumberOfPointRecords()
                            throws java.io.IOException,
                                   AutomationException
The number of points in the LAS file.

Specified by:
getNumberOfPointRecords in interface ITerrainLasDataInfo
Returns:
The pcRecords
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumberOfPointsByReturn

public int getNumberOfPointsByReturn(int returnNumber)
                              throws java.io.IOException,
                                     AutomationException
The number of points in the LAS file based on the specified LiDAR return number.

Specified by:
getNumberOfPointsByReturn in interface ITerrainLasDataInfo
Parameters:
returnNumber - The returnNumber (in)
Returns:
The pcPoints
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataExtent

public IEnvelope getDataExtent()
                        throws java.io.IOException,
                               AutomationException
The XYZ extent of points in the LAS file.

Specified by:
getDataExtent in interface ITerrainLasDataInfo
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
The spatial reference of the LAS file.

Specified by:
getSpatialReference in interface ITerrainLasDataInfo
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFileSourceID

public int getFileSourceID()
                    throws java.io.IOException,
                           AutomationException
The LAS file's source ID.

Specified by:
getFileSourceID in interface ITerrainLasDataInfo2
Returns:
The pID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStandardGpsTime

public boolean isStandardGpsTime()
                          throws java.io.IOException,
                                 AutomationException
Indicates if the GPS time is standard GPS Time.

Specified by:
isStandardGpsTime in interface ITerrainLasDataInfo2
Returns:
The pbIsAStandard
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPointInfoByClassCode

public void getPointInfoByClassCode(ITrackCancel pTrackCancel,
                                    ILongArray pCodes,
                                    IDoubleArray[] ppCounts,
                                    IArray[] ppExtents)
                             throws java.io.IOException,
                                    AutomationException
Get the number of points corresponding to the specified class codes.

Specified by:
getPointInfoByClassCode in interface ITerrainLasDataInfo2
Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
ppCounts - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)
ppExtents - A reference to a com.esri.arcgis.system.IArray (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.