Package oracle.spatial.util
Class LASImportExport.Las10Header
- java.lang.Object
-
- oracle.spatial.util.LASImportExport.Las10Header
-
- Direct Known Subclasses:
LASImportExport.Las12Header
- Enclosing class:
- LASImportExport
protected static class LASImportExport.Las10Header extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static oracle.spatial.util.LASImportExport.LasAttribute[]FORMATS_LAS_XYZprotected static oracle.spatial.util.LASImportExport.LasAttribute[][]FORMATS_LAS10protected static oracle.spatial.util.LASImportExport.LasAttribute[]FORMATS_LAS10_BASE1protected static oracle.spatial.util.LASImportExport.LasAttribute[]FORMATS_LAS10_BASE2protected static oracle.spatial.util.LASImportExport.LasAttribute[]FORMATS_LAS10_FORMAT0protected static oracle.spatial.util.LASImportExport.LasAttribute[]FORMATS_LAS10_FORMAT1protected java.lang.Stringm_fileSignatureprotected intm_flightDateJulianprotected java.lang.Stringm_generatingSoftwareprotected intm_headerSizeprotected doublem_maxXprotected doublem_maxYprotected doublem_maxZprotected doublem_minXprotected doublem_minYprotected doublem_minZprotected longm_numPointRecordsprotected longm_numPointsByReturn_1protected longm_numPointsByReturn_2protected longm_numPointsByReturn_3protected longm_numPointsByReturn_4protected longm_numPointsByReturn_5protected longm_numVarLenRecordsprotected longm_offsetToDataprotected doublem_offsetXprotected doublem_offsetYprotected doublem_offsetZprotected intm_pointDataFormatIdprotected intm_pointDataRecordLenprotected doublem_scaleFactorXprotected doublem_scaleFactorYprotected doublem_scaleFactorZprotected java.lang.Stringm_systemIdentifierprotected intm_versionMajorprotected intm_versionMinorprotected intm_year
-
Constructor Summary
Constructors Modifier Constructor Description protectedLas10Header(java.io.DataInputStream dis, java.lang.String fileSignature, int versionMajor, int versionMinor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected oracle.spatial.util.LASImportExport.LasAttribute[][]getAttributes()protected voidimportLAS(java.io.DataInputStream sourceLasFileDis, java.lang.String sourceLasFileId, java.sql.PreparedStatement tableInsertPS, java.sql.Connection conn)voidimportLAS(java.lang.String sourceLasFileId, java.io.DataInputStream sourceLasFileDis, java.lang.String targetTable, java.sql.Connection conn)voidincludeColumns(java.sql.Connection conn, java.lang.String table)protected voidincludeColumns(java.sql.Connection conn, java.lang.String table, int pointDataFormatId)protected voidreadPoint(int num, java.io.DataInputStream dis, java.sql.PreparedStatement targetTablePreparedStatement, java.lang.String sourceLasFileId)protected java.lang.StringtrimFirstAndLastLetter(java.lang.String str)
-
-
-
Field Detail
-
m_fileSignature
protected final java.lang.String m_fileSignature
-
m_systemIdentifier
protected final java.lang.String m_systemIdentifier
-
m_generatingSoftware
protected final java.lang.String m_generatingSoftware
-
m_versionMajor
protected final int m_versionMajor
-
m_versionMinor
protected final int m_versionMinor
-
m_flightDateJulian
protected final int m_flightDateJulian
-
m_year
protected final int m_year
-
m_headerSize
protected final int m_headerSize
-
m_pointDataFormatId
protected final int m_pointDataFormatId
-
m_pointDataRecordLen
protected final int m_pointDataRecordLen
-
m_offsetToData
protected final long m_offsetToData
-
m_numVarLenRecords
protected final long m_numVarLenRecords
-
m_numPointRecords
protected final long m_numPointRecords
-
m_numPointsByReturn_1
protected final long m_numPointsByReturn_1
-
m_numPointsByReturn_2
protected final long m_numPointsByReturn_2
-
m_numPointsByReturn_3
protected final long m_numPointsByReturn_3
-
m_numPointsByReturn_4
protected final long m_numPointsByReturn_4
-
m_numPointsByReturn_5
protected final long m_numPointsByReturn_5
-
m_scaleFactorX
protected final double m_scaleFactorX
-
m_scaleFactorY
protected final double m_scaleFactorY
-
m_scaleFactorZ
protected final double m_scaleFactorZ
-
m_offsetX
protected final double m_offsetX
-
m_offsetY
protected final double m_offsetY
-
m_offsetZ
protected final double m_offsetZ
-
m_maxX
protected final double m_maxX
-
m_minX
protected final double m_minX
-
m_maxY
protected final double m_maxY
-
m_minY
protected final double m_minY
-
m_maxZ
protected final double m_maxZ
-
m_minZ
protected final double m_minZ
-
FORMATS_LAS_XYZ
protected static final oracle.spatial.util.LASImportExport.LasAttribute[] FORMATS_LAS_XYZ
-
FORMATS_LAS10_BASE1
protected static final oracle.spatial.util.LASImportExport.LasAttribute[] FORMATS_LAS10_BASE1
-
FORMATS_LAS10_BASE2
protected static final oracle.spatial.util.LASImportExport.LasAttribute[] FORMATS_LAS10_BASE2
-
FORMATS_LAS10_FORMAT0
protected static final oracle.spatial.util.LASImportExport.LasAttribute[] FORMATS_LAS10_FORMAT0
-
FORMATS_LAS10_FORMAT1
protected static final oracle.spatial.util.LASImportExport.LasAttribute[] FORMATS_LAS10_FORMAT1
-
FORMATS_LAS10
protected static final oracle.spatial.util.LASImportExport.LasAttribute[][] FORMATS_LAS10
-
-
Method Detail
-
getAttributes
protected oracle.spatial.util.LASImportExport.LasAttribute[][] getAttributes()
-
includeColumns
protected void includeColumns(java.sql.Connection conn, java.lang.String table, int pointDataFormatId)
-
includeColumns
public final void includeColumns(java.sql.Connection conn, java.lang.String table)
-
trimFirstAndLastLetter
protected java.lang.String trimFirstAndLastLetter(java.lang.String str)
-
importLAS
public void importLAS(java.lang.String sourceLasFileId, java.io.DataInputStream sourceLasFileDis, java.lang.String targetTable, java.sql.Connection conn) throws java.sql.SQLException, java.io.IOException- Throws:
java.sql.SQLExceptionjava.io.IOException
-
importLAS
protected void importLAS(java.io.DataInputStream sourceLasFileDis, java.lang.String sourceLasFileId, java.sql.PreparedStatement tableInsertPS, java.sql.Connection conn) throws java.sql.SQLException, java.io.IOException- Throws:
java.sql.SQLExceptionjava.io.IOException
-
readPoint
protected void readPoint(int num, java.io.DataInputStream dis, java.sql.PreparedStatement targetTablePreparedStatement, java.lang.String sourceLasFileId) throws java.io.IOException, java.sql.SQLException- Throws:
java.io.IOExceptionjava.sql.SQLException
-
-