Package mil.nga.geopackage.db.metadata
Class GeometryMetadata
- java.lang.Object
-
- mil.nga.geopackage.db.metadata.GeometryMetadata
-
public class GeometryMetadata extends Object
Geometry metadata used to index feature bounds
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_GEOPACKAGE_IDGeoPackage Id columnstatic StringCOLUMN_IDGeometry Id columnstatic StringCOLUMN_MAX_MMax Mstatic StringCOLUMN_MAX_XMax Xstatic StringCOLUMN_MAX_YMax Ystatic StringCOLUMN_MAX_ZMax Zstatic StringCOLUMN_MIN_MMin Mstatic StringCOLUMN_MIN_XMin Xstatic StringCOLUMN_MIN_YMin Ystatic StringCOLUMN_MIN_ZMin Zstatic StringCOLUMN_TABLE_NAMETable name columnstatic String[]COLUMNSColumnsstatic StringCREATE_SQLCreate table SQLlonggeoPackageIdGeoPackage IdlongidGeometry id, "foreign key" to a user tableDoublemaxMMax MdoublemaxXMax XdoublemaxYMax YDoublemaxZMax ZDoubleminMMin MdoubleminXMin XdoubleminYMin YDoubleminZMin Zstatic StringTABLE_NAMETable nameStringtableNameGeoPackage table name
-
Constructor Summary
Constructors Constructor Description GeometryMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetGeoPackageId()Get the GeoPackage idlonggetId()Get the idDoublegetMaxM()Get max MdoublegetMaxX()Get max XdoublegetMaxY()Get max YDoublegetMaxZ()Get max ZDoublegetMinM()Get min MdoublegetMinX()Get min XdoublegetMinY()Get min YDoublegetMinZ()Get min ZStringgetTableName()Get the table namevoidsetGeoPackageId(long geoPackageId)Set the GeoPackage idvoidsetId(long id)Set the idvoidsetMaxM(Double maxM)Set max MvoidsetMaxX(double maxX)Set max XvoidsetMaxY(double maxY)Set max YvoidsetMaxZ(Double maxZ)Set max ZvoidsetMinM(Double minM)Set min MvoidsetMinX(double minX)Set min XvoidsetMinY(double minY)Set min YvoidsetMinZ(Double minZ)Set min ZvoidsetTableName(String tableName)Set the table name
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_GEOPACKAGE_ID
public static final String COLUMN_GEOPACKAGE_ID
GeoPackage Id column- See Also:
- Constant Field Values
-
COLUMN_TABLE_NAME
public static final String COLUMN_TABLE_NAME
Table name column- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
Geometry Id column- See Also:
- Constant Field Values
-
COLUMN_MIN_X
public static final String COLUMN_MIN_X
Min X- See Also:
- Constant Field Values
-
COLUMN_MAX_X
public static final String COLUMN_MAX_X
Max X- See Also:
- Constant Field Values
-
COLUMN_MIN_Y
public static final String COLUMN_MIN_Y
Min Y- See Also:
- Constant Field Values
-
COLUMN_MAX_Y
public static final String COLUMN_MAX_Y
Max Y- See Also:
- Constant Field Values
-
COLUMN_MIN_Z
public static final String COLUMN_MIN_Z
Min Z- See Also:
- Constant Field Values
-
COLUMN_MAX_Z
public static final String COLUMN_MAX_Z
Max Z- See Also:
- Constant Field Values
-
COLUMN_MIN_M
public static final String COLUMN_MIN_M
Min M- See Also:
- Constant Field Values
-
COLUMN_MAX_M
public static final String COLUMN_MAX_M
Max M- See Also:
- Constant Field Values
-
COLUMNS
public static final String[] COLUMNS
Columns
-
CREATE_SQL
public static final String CREATE_SQL
Create table SQL- See Also:
- Constant Field Values
-
geoPackageId
public long geoPackageId
GeoPackage Id
-
tableName
public String tableName
GeoPackage table name
-
id
public long id
Geometry id, "foreign key" to a user table
-
minX
public double minX
Min X
-
maxX
public double maxX
Max X
-
minY
public double minY
Min Y
-
maxY
public double maxY
Max Y
-
minZ
public Double minZ
Min Z
-
maxZ
public Double maxZ
Max Z
-
minM
public Double minM
Min M
-
maxM
public Double maxM
Max M
-
-
Method Detail
-
getGeoPackageId
public long getGeoPackageId()
Get the GeoPackage id- Returns:
- GeoPackage id
-
setGeoPackageId
public void setGeoPackageId(long geoPackageId)
Set the GeoPackage id- Parameters:
geoPackageId- GeoPackage id
-
getTableName
public String getTableName()
Get the table name- Returns:
- table name
-
setTableName
public void setTableName(String tableName)
Set the table name- Parameters:
tableName- table name
-
getId
public long getId()
Get the id- Returns:
- id
-
setId
public void setId(long id)
Set the id- Parameters:
id- id
-
getMinX
public double getMinX()
Get min X- Returns:
- min x
-
setMinX
public void setMinX(double minX)
Set min X- Parameters:
minX- min x
-
getMaxX
public double getMaxX()
Get max X- Returns:
- max x
-
setMaxX
public void setMaxX(double maxX)
Set max X- Parameters:
maxX- max x
-
getMinY
public double getMinY()
Get min Y- Returns:
- min y
-
setMinY
public void setMinY(double minY)
Set min Y- Parameters:
minY- min y
-
getMaxY
public double getMaxY()
Get max Y- Returns:
- max y
-
setMaxY
public void setMaxY(double maxY)
Set max Y- Parameters:
maxY- max y
-
getMinZ
public Double getMinZ()
Get min Z- Returns:
- min z
-
setMinZ
public void setMinZ(Double minZ)
Set min Z- Parameters:
minZ- min z
-
getMaxZ
public Double getMaxZ()
Get max Z- Returns:
- max z
-
setMaxZ
public void setMaxZ(Double maxZ)
Set max Z- Parameters:
maxZ- max z
-
getMinM
public Double getMinM()
Get min M- Returns:
- min m
-
setMinM
public void setMinM(Double minM)
Set min M- Parameters:
minM- min m
-
getMaxM
public Double getMaxM()
Get max M- Returns:
- max m
-
setMaxM
public void setMaxM(Double maxM)
Set max M- Parameters:
maxM- max m
-
-