1.0.0 • Published 3 years ago

edge1-dem-worker v1.0.0

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
3 years ago

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)