Creates a new TileDao instance.
The GeoPackage database connection.
The name of the tile pyramid user data table.
The tile matrix set defining the spatial extent and SRS for the table.
The name of the tile pyramid user data table.
Counts the total number of tiles across all zoom levels.
The total tile count.
Counts the number of tiles at a specific zoom level.
The zoom level to count tiles for.
The number of tiles at the given zoom level.
Deletes a tile by its unique row ID.
The primary key of the tile row to delete.
The number of rows deleted (0 or 1).
Deletes a tile at the specified grid position and zoom level.
The tile column index.
The tile row index.
The zoom level.
The number of rows deleted (0 or 1).
Returns the bounding box of the tile matrix set as a BoundingBox.
The coordinates are in the coordinate reference system defined by the tile matrix set's SRS ID.
The spatial extent of the tile data.
Returns the maximum zoom level containing tiles.
The maximum zoom level, or null if the table contains no tiles.
Returns the minimum zoom level containing tiles.
The minimum zoom level, or null if the table contains no tiles.
Returns all tile matrices (zoom level definitions) for this tile table, ordered by zoom level ascending.
An array of TileMatrix records.
Retrieves the tile matrix definition for a specific zoom level.
The zoom level to query.
The TileMatrix for the specified zoom level, or undefined if not defined.
Returns the tile matrix set associated with this DAO.
The TileMatrixSet defining the spatial extent and coordinate reference system.
Inserts a new tile into the table.
The tile data to insert, including the zoom level, column, row, and binary tile data.
The row ID of the newly inserted tile.
Queries for a single tile at the specified grid position and zoom level.
The tile column index.
The tile row index.
The zoom level.
The tile row if found, or undefined if no tile exists at the specified position.
Data Access Object for querying, inserting, and deleting tiles in a GeoPackage tile pyramid user data table.
The
TileDaoprovides methods for accessing individual tiles by their grid coordinates and zoom level, iterating over tiles, retrieving zoom level metadata, and managing tile data.Example