From 01559445fd6b836c43701cd0430d5da72e1cd33b Mon Sep 17 00:00:00 2001 From: citizenfish Date: Fri, 9 Feb 2024 14:05:31 +0000 Subject: [PATCH] Began work on the tag translator for Zoomstack --- docs/prototyping.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/prototyping.md b/docs/prototyping.md index a5972ba..856736c 100644 --- a/docs/prototyping.md +++ b/docs/prototyping.md @@ -5,3 +5,12 @@ ogr2ogr -f GPKG contours.gpkg OS_Open_Zoomstack.gpkg contours python build/get_max_id.py /Volumes/Extreme\ Pro/mapping_data/osm/great-britain-latest.osm.pbf ogr2osm /Volumes/Extreme\ Pro/mapping_data/zoomstack/contours.gpkg -f --pbf --no-memory-copy -e 27700 -o /Volumes/Extreme\ Pro/mapping_data/zoomstack/contours.osm.pbf -t translations/bikepack_translator.py --id 11571092201 ``` + +# using docker on office PC +```bash +sudo fallocate -l 50G /swapfile +sudo chmod 600 /swapfile +sudo mkswap /swapfile +sudo swapon /swapfile +docker run -ti --rm -v /opt/:/app roelderickx/ogr2osm /app/data/zoomstack/contours.gpkg -f --pbf -e 27700 -o /app/data/zoomstack/contours.osm.pbf -t /app/dev/bikepackmaps/translations/bikepack_translator.py --id 11571092201 +``` \ No newline at end of file