Class MBTilesToGeoPackage
Methods
addLayer
-
Parameters
-
-
Optional progressCallback: Function
Returns Promise<any>
convert
-
Parameters
-
-
Optional progressCallback: Function
Returns Promise<GeoPackage>
createOrOpenGeoPackage
- createOrOpenGeoPackage(geoPackage: GeoPackage | string, options: MBTilesConverterOptions, progressCallback?: Function): Promise<GeoPackage>
-
Parameters
-
geoPackage: GeoPackage | string
-
-
Optional progressCallback: Function
Returns Promise<GeoPackage>
determineFormatFromTile
- determineFormatFromTile(db: DBAdapter): string
-
Parameters
Returns string
getInfo
- getInfo(db: DBAdapter): object
-
Parameters
Returns object
-
bounds: Array<number>
-
center: Array<number>
-
format: string
-
maxzoom: number
-
minzoom: number
openMBTilesDb
- openMBTilesDb(mbtiles: string | Buffer): Promise<DBAdapter>
-
Parameters
Returns Promise<DBAdapter>
setupConversion
-
Parameters
-
-
Optional progressCallback: Function
Returns Promise<GeoPackage>