Skip to content

FreemapSlovakia/forester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forester

A tool to trace areas (forests, water bodies, buildings, ...) from classified clouds of points.

Requiremens

  • Deno
  • PDAL
  • WhiteboxTools
  • GDAL
  • GRASS GIS
  • jq

Tools

Preprocessing

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.

The server

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published