@ngageoint/geopackage
Version:
GeoPackage JavaScript Library
61 lines (60 loc) • 1.87 kB
TypeScript
import { Contents } from '../../core/contents/contents';
/**
* Tile Matrix object. Documents the structure of the tile matrix at each zoom
* level in each tiles table. It allows GeoPackages to contain rectangular as
* well as square tiles (e.g. for better representation of polar regions). It
* allows tile pyramids with zoom levels that differ in resolution by factors of
* 2, irregular intervals, or regular intervals other than factors of 2.
* @class TileMatrix
*/
export declare class TileMatrix {
static readonly TABLE_NAME: string;
static readonly ZOOM_LEVEL: string;
static readonly MATRIX_WIDTH: string;
static readonly MATRIX_HEIGHT: string;
static readonly TILE_WIDTH: string;
static readonly TILE_HEIGHT: string;
static readonly PIXEL_X_SIZE: string;
static readonly PIXEL_Y_SIZE: string;
/**
* Tile Pyramid User Data Table Name
* @member {string}
*/
table_name: string;
/**
* 0 ⇐ zoom_level ⇐ max_level for table_name
* @member {Number}
*/
zoom_level: number;
/**
* Number of columns (>= 1) in tile matrix at this zoom level
* @member {Number}
*/
matrix_width: number;
/**
* Number of rows (>= 1) in tile matrix at this zoom level
* @member {Number}
*/
matrix_height: number;
/**
* Tile width in pixels (>= 1)for this zoom level
* @member {Number}
*/
tile_width: number;
/**
* Tile height in pixels (>= 1)for this zoom level
* @member {Number}
*/
tile_height: number;
/**
* In t_table_name srid units or default meters for srid 0 (>0)
* @member {Number}
*/
pixel_x_size: number;
/**
* In t_table_name srid units or default meters for srid 0 (>0)
* @member {Number}
*/
pixel_y_size: number;
set contents(contents: Contents);
}