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 String
COLUMN_ID
id field name, tableNamestatic String
COLUMN_MAX_X
maxX field namestatic String
COLUMN_MAX_Y
maxY field namestatic String
COLUMN_MIN_X
minX field namestatic String
COLUMN_MIN_Y
minY field namestatic String
COLUMN_SRS_ID
srsId field namestatic String
COLUMN_TABLE_NAME
tableName field namestatic String
TABLE_NAME
Table 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 BoundingBox
getBoundingBox()
Get a bounding boxBoundingBox
getBoundingBox(Projection projection)
Get a bounding box in the provided projectionContents
getContents()
String
getId()
double
getMaxX()
double
getMaxY()
double
getMinX()
double
getMinY()
Projection
getProjection()
Get the projectionSpatialReferenceSystem
getSrs()
long
getSrsId()
String
getTableName()
void
setBoundingBox(BoundingBox boundingBox)
Set a bounding boxvoid
setContents(Contents contents)
void
setId(String id)
void
setMaxX(double maxX)
void
setMaxY(double maxY)
void
setMinX(double minX)
void
setMinY(double minY)
void
setSrs(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
-
-