From 60aa7e516404f0722e41e19beb12379fce38480a Mon Sep 17 00:00:00 2001 From: konggdev Date: Mon, 13 Apr 2026 02:32:30 +0200 Subject: [PATCH] Increase simplification of contour data Step 10/Epsilon 0.00001 is unworkable in the computational limits of this project --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 84ab9cc..4f57219 100755 --- a/build.sh +++ b/build.sh @@ -29,7 +29,7 @@ mkdir -p work wget -O "work/$POLY_FILE" "https://download.geofabrik.de/${REGION_ROOT}${REGION}.poly" rm -f data/contours.osm -pyhgtmap --polygon="work/$POLY_FILE" --step=10 --hgtdir=work/hgt --sources=view1,view3 --simplifyContoursEpsilon=0.00001 -j16 --max-nodes-per-tile=0 --output-prefix data/contours +pyhgtmap --polygon="work/$POLY_FILE" --step=40 --hgtdir=work/hgt --sources=view1,view3 --simplifyContoursEpsilon=0.001 -j16 --max-nodes-per-tile=0 --output-prefix data/contours osmium export data/contours.osm -o data/contours.geojson --overwrite rm -f data/contours.osm