Skip to content

Commit

Permalink
Began work on the tag translator for Zoomstack
Browse files Browse the repository at this point in the history
  • Loading branch information
citizenfish committed Feb 9, 2024
1 parent c887068 commit 0155944
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/prototyping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 0155944

Please sign in to comment.