These instructions assume that node.js is installed installed natively. PDAL/Entwine/Greyhound pieces are done via Docker.
Assuming ~/entwine
is the storage location for Entwine-indexed data:
docker run -it -v ~/entwine:/opt/data connormanning/entwine build \
-i http://entwine.io/sample-data/autzen.laz \
-o /opt/data/autzen
Create ~/entwine/config.json
with contents: { "allowWrite": true }
.
Launch Greyhound:
docker run -it -v ~/entwine:/opt/data -p 8080:8080 connormanning/greyhound:alpine \
-c /opt/data/config.json
This example runner simply builds 36 pipelines that split the dataset into a 6x6 grid with a 20% overlapping buffer on each tile, and shells out PDAL's docker container to run each segment serially. It's a proof of concept only and not meant to be scaled to anything production-worthy.
This pipeline runs the SMRF algorithm as well as assigning incrementing values to the BufferedTile
dimension for each tile of the 6x6 grid using PDAL's assign
filter.
Install dependencies:
npm install lodash request-promise
Run:
node ground.js