ortho-basemap-worker
v1.1.0
Published
Ortho basemap generation worker
Downloads
21
Readme
Ortho-basemap Worker
Description
This repository contains code to generate ortho basemaps to use on Flight1
Requirements
For running the DEM you need the following external dependencies:
- GDAL 2.2.4 or above
Installation in linux
apt-get update
apt-get install gdal-bin
Installation in Mac (brew)
brew install gdal
Usage
From command line
generate-basemap-cli.js -i /path/to/orthophoto.tiff -s EPSG:<EPSG code> -z zoomRange -o /path/to/output/dir
From another node library
const worker = require('ortho-basemap-worker')
await worker.generateBaseMap({ input, output, sourceEpsg, zoomRange })