Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MBTilesToGeoPackage

Hierarchy

  • MBTilesToGeoPackage

Index

Constructors

constructor

Methods

addLayer

convert

createOrOpenGeoPackage

  • createOrOpenGeoPackage(geoPackage: GeoPackage | string, options: MBTilesConverterOptions, progressCallback?: Function): Promise<GeoPackage>

determineFormatFromTile

  • determineFormatFromTile(db: DBAdapter): string
  • Parameters

    • db: DBAdapter

    Returns string

getInfo

  • getInfo(db: DBAdapter): object
  • Parameters

    • db: DBAdapter

    Returns object

    • bounds: Array<number>
    • center: Array<number>
    • format: string
    • maxzoom: number
    • minzoom: number

openMBTilesDb

  • openMBTilesDb(mbtiles: string | Buffer): Promise<DBAdapter>
  • Parameters

    • mbtiles: string | Buffer

    Returns Promise<DBAdapter>

setupConversion

Generated using TypeDoc