Tile Reprojection for reprojecting an existing tile table

Hierarchy

  • TileReprojection

Constructors

Properties

geoPackage: GeoPackage

GeoPackage

Optional optimization

optimizeTileGrid: TileGrid

Optimization tile grid

optimizeZoom: number

Optimization zoom

overwrite: boolean = false

Overwrite existing tiles at a zoom level when geographic calculations differ

Progress callbacks

projection: Projection

Projection

replace: boolean = false

Replace flag

reprojectTileDao: TileDao

Tile DAO

table: string

Table name

tileDao: TileDao

Tile DAO

tileHeight: number

Tile height in pixels

tileWidth: number

Tile width in pixels

zoomConfigs: Map<number, TileReprojectionZoom> = ...

Zoom level configuration map

Methods

  • Inherit Doc

    Parameters

    • zoom: number
    • toZoom: number
    • boundingBox: BoundingBox
    • matrixWidth: number
    • matrixHeight: number
    • tileWidth: number
    • tileHeight: number

    Returns Promise<number>

  • Get a reprojected matrix height from a zoom level

    Returns

    reprojected matrix height

    Parameters

    • zoom: number

      zoom level

    Returns number

  • Get a reprojected matrix width from a zoom level

    Returns

    reprojected matrix width

    Parameters

    • zoom: number

      zoom level

    Returns number

  • Get a reprojected tile height from a zoom level

    Returns

    reprojected tile height

    Parameters

    • zoom: number

      zoom level

    Returns number

  • Get a reprojected tile width from a zoom level

    Returns

    reprojected tile width

    Parameters

    • zoom: number

      zoom level

    Returns number

  • Get a reprojected to zoom level from a zoom level, defaults as the zoom level if not set

    Returns

    reprojected to zoom level

    Parameters

    • zoom: number

      zoom level

    Returns number

  • Reproject the tile table within the zoom range

    Returns

    created tiles

    Parameters

    • minZoom: number

      min zoom

    • maxZoom: number

      max zoom

    Returns Promise<number>

  • Reproject the tile table for the zoom level

    Returns

    created tiles

    Parameters

    • zoom: number

      zoom level

    Returns Promise<number>

  • Reproject the tile table for the zoom levels, ordered numerically lowest to highest

    Returns

    created tiles

    Parameters

    • zooms: number[]

      zoom levels, ordered lowest to highest

    Returns Promise<number>

  • Set a reprojected matrix height for a zoom level

    Parameters

    • zoom: number

      zoom level

    • matrixHeight: number

      reprojected matrix height

    Returns void

  • Set a reprojected matrix width for a zoom level

    Parameters

    • zoom: number

      zoom level

    • matrixWidth: number

      reprojected matrix width

    Returns void

  • Set a reprojected tile height for a zoom level

    Parameters

    • zoom: number

      zoom level

    • tileHeight: number

      reprojected tile height

    Returns void

  • Set a reprojected tile width for a zoom level

    Parameters

    • zoom: number

      zoom level

    • tileWidth: number

      reprojected tile width

    Returns void

  • Set a reprojected to zoom level for a zoom level

    Parameters

    • zoom: number

      zoom level

    • toZoom: number

      reprojected zoom level

    Returns void

Generated using TypeDoc