edge1-dem-worker
v1.1.0
Published
Edge1 DEM generation worker
Downloads
22
Readme
Edge1 DEM Worker
Description
This repository contains code for the Digital Elevation Model files meant to run on Edge1.
Requirements
For running the DEM you need the following external dependencies:
- GDAL 2.2.4 or above
- PDAL 2.2.0 or above
Installation in linux
Note: is important to install pdal after gdal so it can link the GeoTiff libraries from it.
apt-get update
apt-get install gdal-bin
apt-get install pdal
Installation in Mac (brew)
brew install gdal
brew install pdal
Usage
From command line
generate-dem-cli -c config.json -i /path/to/pointcloud.las -o /path/to/output.tiff
From another node library
const worker = require('edge1-dem-worker')
await worker.generateDEM(inputFile, outputFile, config)