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_XYZ
protected static oracle.spatial.util.LASImportExport.LasAttribute[][]
FORMATS_LAS10
protected static oracle.spatial.util.LASImportExport.LasAttribute[]
FORMATS_LAS10_BASE1
protected static oracle.spatial.util.LASImportExport.LasAttribute[]
FORMATS_LAS10_BASE2
protected static oracle.spatial.util.LASImportExport.LasAttribute[]
FORMATS_LAS10_FORMAT0
protected static oracle.spatial.util.LASImportExport.LasAttribute[]
FORMATS_LAS10_FORMAT1
protected java.lang.String
m_fileSignature
protected int
m_flightDateJulian
protected java.lang.String
m_generatingSoftware
protected int
m_headerSize
protected double
m_maxX
protected double
m_maxY
protected double
m_maxZ
protected double
m_minX
protected double
m_minY
protected double
m_minZ
protected long
m_numPointRecords
protected long
m_numPointsByReturn_1
protected long
m_numPointsByReturn_2
protected long
m_numPointsByReturn_3
protected long
m_numPointsByReturn_4
protected long
m_numPointsByReturn_5
protected long
m_numVarLenRecords
protected long
m_offsetToData
protected double
m_offsetX
protected double
m_offsetY
protected double
m_offsetZ
protected int
m_pointDataFormatId
protected int
m_pointDataRecordLen
protected double
m_scaleFactorX
protected double
m_scaleFactorY
protected double
m_scaleFactorZ
protected java.lang.String
m_systemIdentifier
protected int
m_versionMajor
protected int
m_versionMinor
protected int
m_year
-
Constructor Summary
Constructors Modifier Constructor Description protected
Las10Header(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 void
importLAS(java.io.DataInputStream sourceLasFileDis, java.lang.String sourceLasFileId, java.sql.PreparedStatement tableInsertPS, java.sql.Connection conn)
void
importLAS(java.lang.String sourceLasFileId, java.io.DataInputStream sourceLasFileDis, java.lang.String targetTable, java.sql.Connection conn)
void
includeColumns(java.sql.Connection conn, java.lang.String table)
protected void
includeColumns(java.sql.Connection conn, java.lang.String table, int pointDataFormatId)
protected void
readPoint(int num, java.io.DataInputStream dis, java.sql.PreparedStatement targetTablePreparedStatement, java.lang.String sourceLasFileId)
protected java.lang.String
trimFirstAndLastLetter(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.SQLException
java.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.SQLException
java.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.IOException
java.sql.SQLException
-
-