Class TileMatrixSet
- java.lang.Object
-
- mil.nga.geopackage.tiles.matrixset.TileMatrixSet
-
public class TileMatrixSet extends Object
Tile Matrix Set object. Defines the minimum bounding box (min_x, min_y, max_x, max_y) and spatial reference system (srs_id) for all content in a tile pyramid user data table.- Author:
- osbornb
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLUMN_IDid field name, tableNamestatic StringCOLUMN_MAX_XmaxX field namestatic StringCOLUMN_MAX_YmaxY field namestatic StringCOLUMN_MIN_XminX field namestatic StringCOLUMN_MIN_YminY field namestatic StringCOLUMN_SRS_IDsrsId field namestatic StringCOLUMN_TABLE_NAMEtableName field namestatic StringTABLE_NAMETable name
-
Constructor Summary
Constructors Constructor Description TileMatrixSet()Default ConstructorTileMatrixSet(TileMatrixSet tileMatrixSet)Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BoundingBoxgetBoundingBox()Get a bounding boxBoundingBoxgetBoundingBox(Projection projection)Get a bounding box in the provided projectionContentsgetContents()StringgetId()doublegetMaxX()doublegetMaxY()doublegetMinX()doublegetMinY()ProjectiongetProjection()Get the projectionSpatialReferenceSystemgetSrs()longgetSrsId()StringgetTableName()voidsetBoundingBox(BoundingBox boundingBox)Set a bounding boxvoidsetContents(Contents contents)voidsetId(String id)voidsetMaxX(double maxX)voidsetMaxY(double maxY)voidsetMinX(double minX)voidsetMinY(double minY)voidsetSrs(SpatialReferenceSystem srs)
-
-
-
Field Detail
-
TABLE_NAME
public static final String TABLE_NAME
Table name- See Also:
- Constant Field Values
-
COLUMN_TABLE_NAME
public static final String COLUMN_TABLE_NAME
tableName field name- See Also:
- Constant Field Values
-
COLUMN_ID
public static final String COLUMN_ID
id field name, tableName- See Also:
- Constant Field Values
-
COLUMN_SRS_ID
public static final String COLUMN_SRS_ID
srsId field name- See Also:
- Constant Field Values
-
COLUMN_MIN_X
public static final String COLUMN_MIN_X
minX field name- See Also:
- Constant Field Values
-
COLUMN_MIN_Y
public static final String COLUMN_MIN_Y
minY field name- See Also:
- Constant Field Values
-
COLUMN_MAX_X
public static final String COLUMN_MAX_X
maxX field name- See Also:
- Constant Field Values
-
COLUMN_MAX_Y
public static final String COLUMN_MAX_Y
maxY field name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TileMatrixSet
public TileMatrixSet()
Default Constructor
-
TileMatrixSet
public TileMatrixSet(TileMatrixSet tileMatrixSet)
Copy Constructor- Parameters:
tileMatrixSet- tile matrix set to copy- Since:
- 1.3.0
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getContents
public Contents getContents()
-
setContents
public void setContents(Contents contents)
-
getTableName
public String getTableName()
-
getSrs
public SpatialReferenceSystem getSrs()
-
setSrs
public void setSrs(SpatialReferenceSystem srs)
-
getSrsId
public long getSrsId()
-
getMinX
public double getMinX()
-
setMinX
public void setMinX(double minX)
-
getMinY
public double getMinY()
-
setMinY
public void setMinY(double minY)
-
getMaxX
public double getMaxX()
-
setMaxX
public void setMaxX(double maxX)
-
getMaxY
public double getMaxY()
-
setMaxY
public void setMaxY(double maxY)
-
getBoundingBox
public BoundingBox getBoundingBox()
Get a bounding box- Returns:
- bounding box
-
getBoundingBox
public BoundingBox getBoundingBox(Projection projection)
Get a bounding box in the provided projection- Parameters:
projection- desired projection- Returns:
- bounding box
- Since:
- 3.1.0
-
setBoundingBox
public void setBoundingBox(BoundingBox boundingBox)
Set a bounding box- Parameters:
boundingBox- bounding box
-
getProjection
public Projection getProjection()
Get the projection- Returns:
- projection
- Since:
- 3.1.0
-
-