class GeoPackage extends ImageTileLayer
A GeoPackage TileLayer
Modifiers | Name | Description |
---|---|---|
static class |
GeoPackage.Factory |
The GeoPackage TileLayerFactory |
Constructor and description |
---|
GeoPackage
(javax.sql.DataSource ds, java.lang.String layerName) Create a new GeoPackage TileLayer from a DataSource and layer name. |
GeoPackage
(java.io.File file, java.lang.String layerName) Create a new GeoPackage from an existing database and tile layer |
GeoPackage
(java.io.File file, java.lang.String layerName, Pyramid pyramid) Create a new GeoPackage from a new database |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
close() |
|
void |
delete(ImageTile t) Delete a Tile |
|
void |
delete(TileCursor<ImageTile> tiles) Delete all Tiles in the TileCursor |
|
void |
delete() Delete this TileLayer. |
|
ImageTile |
get(long z, long x, long y) |
|
int |
getMaxZoom() Get the maximum zoom level of the tiles present. |
|
int |
getMinZoom() Get the minimum zoom level of the tiles present. |
|
static java.util.List<java.lang.String> |
getNames(java.io.File file) Get all of the names of TileLayers from the GeoPackage database |
|
Pyramid |
getPyramid() |
|
java.util.List<java.util.Map> |
getTileCounts() Get the number of tiles per zoom level. |
|
void |
put(ImageTile t) |
Methods inherited from class | Name |
---|---|
class ImageTileLayer |
getMapLayers, getRaster, getRaster, getRaster |
Create a new GeoPackage TileLayer from a DataSource and layer name.
ds
- The DataSourcelayerName
- The existing layer nameCreate a new GeoPackage from an existing database and tile layer
file
- The GeoPackage database filelayerName
- The existing tile layer nameCreate a new GeoPackage from a new database
file
- The new database FilelayerName
- The layer namepyramid
- The Pyramid structureDelete a Tile
t
- The TileDelete all Tiles in the TileCursor
tiles
- The TileCursorDelete this TileLayer. This removes all of this TileLayers internal tables from the GeoPackage database.
Get the maximum zoom level of the tiles present.
Get the minimum zoom level of the tiles present.
Get all of the names of TileLayers from the GeoPackage database
file
- The database FileGet the number of tiles per zoom level.