Package mil.nga.geopackage.tiles.user
Class TileTableMetadata
- java.lang.Object
-
- mil.nga.geopackage.user.UserTableMetadata<TileColumn>
-
- mil.nga.geopackage.tiles.user.TileTableMetadata
-
public class TileTableMetadata extends UserTableMetadata<TileColumn>
Tile Table Metadata for defining table creation information- Since:
- 4.0.0
- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_DATA_TYPEDefault data type-
Fields inherited from class mil.nga.geopackage.user.UserTableMetadata
additionalColumns, autoincrement, columns, dataType, DEFAULT_ID_COLUMN_NAME, description, idColumnName, identifier, tableName
-
-
Constructor Summary
Constructors Constructor Description TileTableMetadata()ConstructorTileTableMetadata(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)ConstructorTileTableMetadata(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)ConstructorTileTableMetadata(String dataType, String tableName, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)ConstructorTileTableMetadata(String tableName, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TileColumn>buildColumns()Build the table columnsstatic TileTableMetadatacreate()Create metadatastatic TileTableMetadatacreate(boolean autoincrement)Create metadatastatic TileTableMetadatacreate(String tableName, boolean autoincrement, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreate(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreate(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreate(String tableName, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreate(String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreate(String tableName, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, boolean autoincrement, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)Create metadatastatic TileTableMetadatacreateTyped(String dataType, String tableName, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)Create metadataBoundingBoxgetContentsBoundingBox()Get the contents bounding boxlonggetContentsSrsId()Get the contents SRS idStringgetDefaultDataType()Get the default data typeBoundingBoxgetTileBoundingBox()Get the tile bounding boxlonggetTileSrsId()Get the tile SRS idvoidsetContentsBoundingBox(BoundingBox contentsBoundingBox)Set the contents bounding boxvoidsetContentsSrsId(Long contentsSrsId)Set the contents SRS idvoidsetTileBoundingBox(BoundingBox tileBoundingBox)Set the tile bounding boxvoidsetTileSrsId(long tileSrsId)Set the tile SRS id-
Methods inherited from class mil.nga.geopackage.user.UserTableMetadata
getAdditionalColumns, getColumns, getDataType, getDescription, getIdColumnName, getIdentifier, getTableName, isAutoincrement, setAdditionalColumns, setAutoincrement, setColumns, setDataType, setDescription, setIdColumnName, setIdentifier, setTableName
-
-
-
-
Field Detail
-
DEFAULT_DATA_TYPE
public static final String DEFAULT_DATA_TYPE
Default data type
-
-
Constructor Detail
-
TileTableMetadata
public TileTableMetadata()
Constructor
-
TileTableMetadata
public TileTableMetadata(String tableName, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Constructor- Parameters:
tableName- table namecontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id
-
TileTableMetadata
public TileTableMetadata(String dataType, String tableName, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Constructor- Parameters:
dataType- data typetableName- table namecontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id
-
TileTableMetadata
public TileTableMetadata(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Constructor- Parameters:
tableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id
-
TileTableMetadata
public TileTableMetadata(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, Long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Constructor- Parameters:
dataType- data typetableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id
-
-
Method Detail
-
create
public static TileTableMetadata create()
Create metadata- Returns:
- metadata
-
create
public static TileTableMetadata create(boolean autoincrement)
Create metadata- Parameters:
autoincrement- autoincrement ids- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table nametileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, boolean autoincrement, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table nameautoincrement- autoincrement idstileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table namecontentsBoundingBox- contents bounding boxtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table namecontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
create
public static TileTableMetadata create(String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
tableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table nametileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, boolean autoincrement, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table nameautoincrement- autoincrement idstileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table namecontentsBoundingBox- contents bounding boxtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table namecontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
createTyped
public static TileTableMetadata createTyped(String dataType, String tableName, boolean autoincrement, BoundingBox contentsBoundingBox, long contentsSrsId, BoundingBox tileBoundingBox, long tileSrsId)
Create metadata- Parameters:
dataType- data typetableName- table nameautoincrement- autoincrement idscontentsBoundingBox- contents bounding boxcontentsSrsId- contents SRS idtileBoundingBox- tile bounding boxtileSrsId- tile SRS id- Returns:
- metadata
-
getDefaultDataType
public String getDefaultDataType()
Get the default data type- Specified by:
getDefaultDataTypein classUserTableMetadata<TileColumn>- Returns:
- default data type
-
buildColumns
public List<TileColumn> buildColumns()
Build the table columns- Specified by:
buildColumnsin classUserTableMetadata<TileColumn>- Returns:
- table columns
-
getContentsBoundingBox
public BoundingBox getContentsBoundingBox()
Get the contents bounding box- Returns:
- contents bounding box
-
setContentsBoundingBox
public void setContentsBoundingBox(BoundingBox contentsBoundingBox)
Set the contents bounding box- Parameters:
contentsBoundingBox- contents bounding box
-
getContentsSrsId
public long getContentsSrsId()
Get the contents SRS id- Returns:
- contents SRS id
-
setContentsSrsId
public void setContentsSrsId(Long contentsSrsId)
Set the contents SRS id- Parameters:
contentsSrsId- SRS id
-
getTileBoundingBox
public BoundingBox getTileBoundingBox()
Get the tile bounding box- Returns:
- tile bounding box
-
setTileBoundingBox
public void setTileBoundingBox(BoundingBox tileBoundingBox)
Set the tile bounding box- Parameters:
tileBoundingBox- tile bounding box
-
getTileSrsId
public long getTileSrsId()
Get the tile SRS id- Returns:
- tile SRS id
-
setTileSrsId
public void setTileSrsId(long tileSrsId)
Set the tile SRS id- Parameters:
tileSrsId- SRS id
-
-