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
(File file, java.lang.String layerName) Create a new GeoPackage from an existing database and tile layer |
GeoPackage
(File file, java.lang.String layerName, Pyramid pyramid) Create a new GeoPackage from a new database |
GeoPackage
() |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
close() |
|
void |
delete(ImageTile t) Delete a Tile
|
|
void |
delete(TileCursor 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 List |
getNames(File file) Get all of the names of TileLayers from the GeoPackage database
|
|
Pyramid |
getPyramid() |
|
List |
getTileCounts() Get the number of tiles per zoom level. |
|
void |
put(ImageTile t) |
Methods inherited from class | Name |
---|---|
class ImageTileLayer |
getMapLayers, getRaster, getRaster, getRaster |
class TileLayer |
close, delete, delete, get, getLayer, getPyramid, getTileCoordinates, getTileLayer, getTileLayer, getTileRenderer, getTileRenderer, put, tiles, tiles, tiles, tiles, tiles, tiles, toString, withTileLayer |
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.