A tool to trace areas (forests, water bodies, buildings, ...) from classified clouds of points.
- Deno
- PDAL
- WhiteboxTools
- GDAL
- GRASS GIS
- jq
Create ./lazfiles.meta.jsonl
:
find /home/martin/14TB/ -name '*_jtsk03_bpv.laz' | parallel "echo {}; pdal info --summary {} | jq -c" > lazfiles.meta.jsonl
Create preprocessed files:
deno run --allow-read --allow-write --allow-run preprocessing/preprocess.ts
gdalbuildvrt -tap -tr 0.5 0.5 -r cubic merged_3.vrt binary_3-*.tif & \
gdalbuildvrt -tap -tr 0.5 0.5 -r cubic merged_4.vrt binary_4-*.tif & \
gdalbuildvrt -tap -tr 0.5 0.5 -r cubic merged_5.vrt binary_5-*.tif & \
gdalbuildvrt -tap -tr 0.5 0.5 -r cubic merged_6.vrt binary_6-*.tif & \
gdalbuildvrt -tap -tr 0.5 0.5 -r cubic merged_9.vrt binary_9-*.tif & \
wait
Merge preprodessed files.
FORESTER_DATA_DIR_PATH=/path/to/data/from/preprocessing FORESTER_WORK_DIR=./work FORESTER_PORT=8085 deno run --allow-read --allow-write --allow-net --allow-run --allow-env server/server.ts