655 B
655 B
Countour line generator from LIDAR data
Usage:
- Download contour lines in format
6062999.75,584000.75,88.07
: coordinate pair and height (in meters) toDTM_XX_YY_N.zip
files. - Adjust
BOUNDS
in the Makefile. - Run
make -j$(nproc) smooth_<X>.gpkg
. This will output a geo-package with contour lines everyX
meters. X can be fractional (e.g.smooth_2.5.gpkg
).
Dependencies:
- postgis
- gdal-bin
- unzip
TODO:
- Replace
managedb
stack with postgis-over-docker. This will lead to a less fragile postgis setup. - Accept
BOUNDS
in a way that does not require to change the Makefile.