From 686e98df4263e7b45f84591601faad25aef10362 Mon Sep 17 00:00:00 2001 From: fly Date: Mon, 13 Jan 2020 17:02:11 +0000 Subject: [PATCH] Initial commit Signed-off-by: fly --- README.md | 8 + analyse-run-time.py | 111 ++++++ chunk-import.sh | 58 +++ osmium-config/osmium-cut-world-step-1.json | 36 ++ osmium-config/osmium-cut-world-step-2-ne.json | 26 ++ osmium-config/osmium-cut-world-step-2-nw.json | 26 ++ osmium-config/osmium-cut-world-step-2-se.json | 26 ++ osmium-config/osmium-cut-world-step-2-sw.json | 26 ++ .../osmium-cut-world-step-3-ne-ne.json | 21 ++ .../osmium-cut-world-step-3-ne-nw.json | 21 ++ .../osmium-cut-world-step-3-ne-se.json | 21 ++ .../osmium-cut-world-step-3-ne-sw.json | 21 ++ .../osmium-cut-world-step-3-nw-ne.json | 21 ++ .../osmium-cut-world-step-3-nw-nw.json | 21 ++ .../osmium-cut-world-step-3-nw-se.json | 21 ++ .../osmium-cut-world-step-3-nw-sw.json | 21 ++ .../osmium-cut-world-step-3-se-ne.json | 21 ++ .../osmium-cut-world-step-3-se-nw.json | 21 ++ .../osmium-cut-world-step-3-se-se.json | 21 ++ .../osmium-cut-world-step-3-se-sw.json | 21 ++ .../osmium-cut-world-step-3-sw-ne.json | 21 ++ .../osmium-cut-world-step-3-sw-nw.json | 21 ++ .../osmium-cut-world-step-3-sw-se.json | 21 ++ .../osmium-cut-world-step-3-sw-sw.json | 21 ++ .../osmium-cut-world-step-4-ne-ne-1.json | 16 + .../osmium-cut-world-step-4-ne-ne-2.json | 16 + .../osmium-cut-world-step-4-ne-ne-3.json | 16 + .../osmium-cut-world-step-4-ne-nw-1.json | 16 + .../osmium-cut-world-step-4-ne-nw-2.json | 16 + .../osmium-cut-world-step-4-ne-nw-3.json | 16 + .../osmium-cut-world-step-4-ne-se-1.json | 16 + .../osmium-cut-world-step-4-ne-se-2.json | 16 + .../osmium-cut-world-step-4-ne-se-3.json | 16 + .../osmium-cut-world-step-4-ne-sw-1.json | 16 + .../osmium-cut-world-step-4-ne-sw-2.json | 16 + .../osmium-cut-world-step-4-ne-sw-3.json | 16 + .../osmium-cut-world-step-4-nw-ne-1.json | 16 + .../osmium-cut-world-step-4-nw-ne-2.json | 16 + .../osmium-cut-world-step-4-nw-ne-3.json | 16 + .../osmium-cut-world-step-4-nw-nw-1.json | 16 + .../osmium-cut-world-step-4-nw-nw-2.json | 16 + .../osmium-cut-world-step-4-nw-nw-3.json | 16 + .../osmium-cut-world-step-4-nw-se-1.json | 16 + .../osmium-cut-world-step-4-nw-se-2.json | 16 + .../osmium-cut-world-step-4-nw-se-3.json | 16 + .../osmium-cut-world-step-4-nw-sw-1.json | 16 + .../osmium-cut-world-step-4-nw-sw-2.json | 16 + .../osmium-cut-world-step-4-nw-sw-3.json | 16 + .../osmium-cut-world-step-4-se-ne-1.json | 16 + .../osmium-cut-world-step-4-se-ne-2.json | 16 + .../osmium-cut-world-step-4-se-ne-3.json | 16 + .../osmium-cut-world-step-4-se-nw-1.json | 16 + .../osmium-cut-world-step-4-se-nw-2.json | 16 + .../osmium-cut-world-step-4-se-nw-3.json | 16 + .../osmium-cut-world-step-4-se-se-1.json | 16 + .../osmium-cut-world-step-4-se-se-2.json | 16 + .../osmium-cut-world-step-4-se-se-3.json | 16 + .../osmium-cut-world-step-4-se-sw-1.json | 16 + .../osmium-cut-world-step-4-se-sw-2.json | 16 + .../osmium-cut-world-step-4-se-sw-3.json | 16 + .../osmium-cut-world-step-4-sw-ne-1.json | 16 + .../osmium-cut-world-step-4-sw-ne-2.json | 16 + .../osmium-cut-world-step-4-sw-ne-3.json | 16 + .../osmium-cut-world-step-4-sw-nw-1.json | 16 + .../osmium-cut-world-step-4-sw-nw-2.json | 16 + .../osmium-cut-world-step-4-sw-nw-3.json | 16 + .../osmium-cut-world-step-4-sw-se-1.json | 16 + .../osmium-cut-world-step-4-sw-se-2.json | 16 + .../osmium-cut-world-step-4-sw-se-3.json | 16 + .../osmium-cut-world-step-4-sw-sw-1.json | 16 + .../osmium-cut-world-step-4-sw-sw-2.json | 16 + .../osmium-cut-world-step-4-sw-sw-3.json | 16 + .../osmium-cut-world-step-5-ne-ne-1-n.json | 36 ++ .../osmium-cut-world-step-5-ne-ne-1-s.json | 36 ++ .../osmium-cut-world-step-5-ne-ne-2-n.json | 36 ++ .../osmium-cut-world-step-5-ne-ne-2-s.json | 36 ++ .../osmium-cut-world-step-5-ne-ne-3-n.json | 36 ++ .../osmium-cut-world-step-5-ne-ne-3-s.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-1-n.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-1-s.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-2-n.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-2-s.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-3-n.json | 36 ++ .../osmium-cut-world-step-5-ne-nw-3-s.json | 36 ++ .../osmium-cut-world-step-5-ne-se-1-n.json | 36 ++ .../osmium-cut-world-step-5-ne-se-1-s.json | 36 ++ .../osmium-cut-world-step-5-ne-se-2-n.json | 36 ++ .../osmium-cut-world-step-5-ne-se-2-s.json | 36 ++ .../osmium-cut-world-step-5-ne-se-3-n.json | 36 ++ .../osmium-cut-world-step-5-ne-se-3-s.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-1-n.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-1-s.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-2-n.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-2-s.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-3-n.json | 36 ++ .../osmium-cut-world-step-5-ne-sw-3-s.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-1-n.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-1-s.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-2-n.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-2-s.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-3-n.json | 36 ++ .../osmium-cut-world-step-5-nw-ne-3-s.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-1-n.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-1-s.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-2-n.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-2-s.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-3-n.json | 36 ++ .../osmium-cut-world-step-5-nw-nw-3-s.json | 36 ++ .../osmium-cut-world-step-5-nw-se-1-n.json | 36 ++ .../osmium-cut-world-step-5-nw-se-1-s.json | 36 ++ .../osmium-cut-world-step-5-nw-se-2-n.json | 36 ++ .../osmium-cut-world-step-5-nw-se-2-s.json | 36 ++ .../osmium-cut-world-step-5-nw-se-3-n.json | 36 ++ .../osmium-cut-world-step-5-nw-se-3-s.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-1-n.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-1-s.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-2-n.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-2-s.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-3-n.json | 36 ++ .../osmium-cut-world-step-5-nw-sw-3-s.json | 36 ++ .../osmium-cut-world-step-5-se-ne-1-n.json | 36 ++ .../osmium-cut-world-step-5-se-ne-1-s.json | 36 ++ .../osmium-cut-world-step-5-se-ne-2-n.json | 36 ++ .../osmium-cut-world-step-5-se-ne-2-s.json | 36 ++ .../osmium-cut-world-step-5-se-ne-3-n.json | 36 ++ .../osmium-cut-world-step-5-se-ne-3-s.json | 36 ++ .../osmium-cut-world-step-5-se-nw-1-n.json | 36 ++ .../osmium-cut-world-step-5-se-nw-1-s.json | 36 ++ .../osmium-cut-world-step-5-se-nw-2-n.json | 36 ++ .../osmium-cut-world-step-5-se-nw-2-s.json | 36 ++ .../osmium-cut-world-step-5-se-nw-3-n.json | 36 ++ .../osmium-cut-world-step-5-se-nw-3-s.json | 36 ++ .../osmium-cut-world-step-5-se-se-1-n.json | 36 ++ .../osmium-cut-world-step-5-se-se-1-s.json | 36 ++ .../osmium-cut-world-step-5-se-se-2-n.json | 36 ++ .../osmium-cut-world-step-5-se-se-2-s.json | 36 ++ .../osmium-cut-world-step-5-se-se-3-n.json | 36 ++ .../osmium-cut-world-step-5-se-se-3-s.json | 36 ++ .../osmium-cut-world-step-5-se-sw-1-n.json | 36 ++ .../osmium-cut-world-step-5-se-sw-1-s.json | 36 ++ .../osmium-cut-world-step-5-se-sw-2-n.json | 36 ++ .../osmium-cut-world-step-5-se-sw-2-s.json | 36 ++ .../osmium-cut-world-step-5-se-sw-3-n.json | 36 ++ .../osmium-cut-world-step-5-se-sw-3-s.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-1-n.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-1-s.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-2-n.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-2-s.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-3-n.json | 36 ++ .../osmium-cut-world-step-5-sw-ne-3-s.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-1-n.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-1-s.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-2-n.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-2-s.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-3-n.json | 36 ++ .../osmium-cut-world-step-5-sw-nw-3-s.json | 36 ++ .../osmium-cut-world-step-5-sw-se-1-n.json | 36 ++ .../osmium-cut-world-step-5-sw-se-1-s.json | 36 ++ .../osmium-cut-world-step-5-sw-se-2-n.json | 36 ++ .../osmium-cut-world-step-5-sw-se-2-s.json | 36 ++ .../osmium-cut-world-step-5-sw-se-3-n.json | 36 ++ .../osmium-cut-world-step-5-sw-se-3-s.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-1-n.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-1-s.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-2-n.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-2-s.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-3-n.json | 36 ++ .../osmium-cut-world-step-5-sw-sw-3-s.json | 36 ++ split-world.py | 32 ++ worldbuild-manager.py | 231 ++++++++++++ worldbuild-worker.py | 172 +++++++++ worldbuild.py | 353 ++++++++++++++++++ 172 files changed, 5665 insertions(+) create mode 100644 README.md create mode 100755 analyse-run-time.py create mode 100755 chunk-import.sh create mode 100644 osmium-config/osmium-cut-world-step-1.json create mode 100644 osmium-config/osmium-cut-world-step-2-ne.json create mode 100644 osmium-config/osmium-cut-world-step-2-nw.json create mode 100644 osmium-config/osmium-cut-world-step-2-se.json create mode 100644 osmium-config/osmium-cut-world-step-2-sw.json create mode 100644 osmium-config/osmium-cut-world-step-3-ne-ne.json create mode 100644 osmium-config/osmium-cut-world-step-3-ne-nw.json create mode 100644 osmium-config/osmium-cut-world-step-3-ne-se.json create mode 100644 osmium-config/osmium-cut-world-step-3-ne-sw.json create mode 100644 osmium-config/osmium-cut-world-step-3-nw-ne.json create mode 100644 osmium-config/osmium-cut-world-step-3-nw-nw.json create mode 100644 osmium-config/osmium-cut-world-step-3-nw-se.json create mode 100644 osmium-config/osmium-cut-world-step-3-nw-sw.json create mode 100644 osmium-config/osmium-cut-world-step-3-se-ne.json create mode 100644 osmium-config/osmium-cut-world-step-3-se-nw.json create mode 100644 osmium-config/osmium-cut-world-step-3-se-se.json create mode 100644 osmium-config/osmium-cut-world-step-3-se-sw.json create mode 100644 osmium-config/osmium-cut-world-step-3-sw-ne.json create mode 100644 osmium-config/osmium-cut-world-step-3-sw-nw.json create mode 100644 osmium-config/osmium-cut-world-step-3-sw-se.json create mode 100644 osmium-config/osmium-cut-world-step-3-sw-sw.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-ne-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-ne-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-ne-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-nw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-nw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-nw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-se-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-se-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-se-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-sw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-sw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-ne-sw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-ne-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-ne-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-ne-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-nw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-nw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-nw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-se-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-se-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-se-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-sw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-sw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-nw-sw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-ne-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-ne-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-ne-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-nw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-nw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-nw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-se-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-se-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-se-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-sw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-sw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-se-sw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-ne-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-ne-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-ne-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-nw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-nw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-nw-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-se-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-se-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-se-3.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-sw-1.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-sw-2.json create mode 100644 osmium-config/osmium-cut-world-step-4-sw-sw-3.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-ne-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-nw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-se-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-ne-sw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-ne-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-nw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-se-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-nw-sw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-ne-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-nw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-se-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-se-sw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-ne-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-nw-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-se-3-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-1-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-1-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-2-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-2-s.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-3-n.json create mode 100644 osmium-config/osmium-cut-world-step-5-sw-sw-3-s.json create mode 100755 split-world.py create mode 100755 worldbuild-manager.py create mode 100755 worldbuild-worker.py create mode 100755 worldbuild.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..4988590 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# User scripts + +**Note**: User scripts are not part of the easy-osm2city concept... use only if your know what you are doing. + +* `split-world.py`: Splits the world into 10 by 10 degrees areas covering everything from 80 north to 80 south and the poles. +* `osmium-config`: Config files for osmium, used by the split-world script. +* `worldbuild.py`: Runs the worldbuild. +* `analyse-run-time.py` Shows a breakdown of the runtime. Depends on `tabulate` diff --git a/analyse-run-time.py b/analyse-run-time.py new file mode 100755 index 0000000..8c3c085 --- /dev/null +++ b/analyse-run-time.py @@ -0,0 +1,111 @@ +#! /usr/bin/python +import sys +from tabulate import tabulate +import re +import os +import json + +sortkey = [] +ifile = "" +cache = True + +argc = len(sys.argv) +first = 1 +i = 1 +while i < argc: + if sys.argv[i] == "-s" or sys.argv[i] == "--sort-by": + i += 1 + if len(sortkey) <= 3: + if sys.argv[i] in ["max", "occ", "avg", "sum"]: + sortkey.append(sys.argv[i]) + else: + print("ERROR: Unknown key " + sys.argv[i] + ": Aborting!") + sys.exit(1) + else: + print("WARNING: Too many sort criteria given! Will ignore last argument.") + elif sys.argv[i] == "-n" or sys.argv[i] == "--no-cache": + cache = False + elif sys.argv[i] == "-h" or sys.argv[i] == "--help": + print("usage: analyse-run-time.py [OPTIONS]") + print("Showing, how long certain tasks took") + print("") + print("OPTIONS") + print(" -s, --sort-by Sort by key. Can be specified up to 3 times.") + print(" First key has highest priority") + print(" Valid keys are:") + print(" max (default) Maximum execution time") + print(" avg Average execution time") + print(" sum Total execution time") + print(" occ Occurrences in the log file") + print(" -n, --no-cache Doesn't read and write from/to cache file") + print(" -h, --help Shows this help and exit") + sys.exit(0) + else: + if first == 1: + first = 0 + ifile = sys.argv[i] + else: + print("Unknown option " + sys.argv[i]) + sys.exit(1) + i += 1 + +if len(sortkey) == 0: + sortkey.append("max") + +from_cache = False +if os.path.isfile(ifile + ".cache") and cache: + read_src = False + from_cache = True + with open(ifile + ".cache") as json_data: + tasks = json.load(json_data) +else: + read_src = True + +if read_src: + times = [] + try: + with open(ifile) as f: + for line in f: + match = re.findall("SpawnPoolWorker-\d+ root INFO +Time used in seconds for (.*): (\d+\.\d+)", line) + if match != []: + times.append(match[0]) + match = re.findall("SpawnPoolWorker-\d+ root INFO +(Reading OSM .* data for \['.*'\]) from db took (\d+\.\d+) seconds.", line) + if match != []: + times.append(match[0]) + except: + print("err") + sys.exit(1) + + tasks = [] + for time in times: + found = False + for i in range(0, len(tasks)): + if tasks[i]['name'] == time[0]: + tasks[i]['occ'] += 1 + tasks[i]['sum'] += float(time[1]) + if float(time[1]) > tasks[i]['max']: + tasks[i]['max'] = float(time[1]) + found = True + break + if not found: + tasks.append({}) + tasks[len(tasks) -1]['name'] = time[0] + tasks[len(tasks) -1]['occ'] = 1 + tasks[len(tasks) -1]['sum'] = float(time[1]) + tasks[len(tasks) -1]['max'] = float(time[1]) + + for task in tasks: + task['avg'] = task['sum'] / task['occ'] + + if cache: + with open(ifile + ".cache", "w") as f: + f.write(json.dumps(tasks, default=lambda o: o.__dict__)) + +if from_cache: + print("Data from cache used") + +i = len(sortkey) - 1 +while i >= 0: + tasks.sort(key=lambda tasks: tasks[sortkey[i]], reverse=True) + i -= 1 +print tabulate(tasks,headers="keys",floatfmt=".2f") diff --git a/chunk-import.sh b/chunk-import.sh new file mode 100755 index 0000000..8cdd2bf --- /dev/null +++ b/chunk-import.sh @@ -0,0 +1,58 @@ +#! /bin/bash + +root_path="$( cd "$(dirname "$0")" ; pwd -P )/.." + +which parallel > /dev/null +if [ $? == 1 ]; then + echo "Please install parallel" + exit 1 +fi + +num_jobs=4 +prefix="" +first=1 +while [[ $# -gt 0 ]] +do +key="$1" + +case $key in + -j|--jobs) + num_jobs="$2" + shift # past argument + shift # past value + ;; + -p|--prefix) + prefix="$2" + shift # past argument + shift # past value + ;; + -h|--help) + echo "usage: chunk-import.sh [OPTIONS]" + echo "Imports every chunk into own db" + echo "" + echo "OPTIONS" + echo " -j, --jobs Number of parallel jobs. Default: 4" + echo " -p, --prefix Database prefix to be used" + echo " -h, --help Shows this help and exit" + exit 0 + ;; + + *) + if [ $first == "1" ]; then + pbf_path="$1" + shift # past pbf-path + first=0 + else + echo "Unknown option $key" + exit 1 + fi + ;; +esac +done + +if [ -z "$pbf_path" ]; then + echo "No pbf path was given. See chunk-import -h for details" + exit 1 +fi + +ls "$pbf_path"/*.osm.pbf | sed -e "s/.osm.pbf//" -e "s:^.*/::" | parallel -j$num_jobs --eta "$root_path/create-db $prefix{} && $root_path/read-pbf $prefix{} {}.osm.pbf" diff --git a/osmium-config/osmium-cut-world-step-1.json b/osmium-config/osmium-cut-world-step-1.json new file mode 100644 index 0000000..ec33a8a --- /dev/null +++ b/osmium-config/osmium-cut-world-step-1.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "ne.osm.pbf", + "output-format": "pbf", + "bbox": [0,0,180,80] + }, + { + "output": "se.osm.pbf", + "output-forumat": "pbf", + "bbox": [0,-80,180,0] + }, + { + "output": "nw.osm.pbf", + "output-format": "pbf", + "bbox": [-180,0,0,80] + }, + { + "output": "sw.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-80,0,0] + }, + { + "output": "n-pole.osm.pbf", + "output_format": "pbf", + "bbox": [-180,80,180,90] + }, + { + "output": "s-pole.osm.pbf", + "output_format": "pbf", + "bbox": [-180,-90,180,-80] + } + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-2-ne.json b/osmium-config/osmium-cut-world-step-2-ne.json new file mode 100644 index 0000000..0ff1618 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-2-ne.json @@ -0,0 +1,26 @@ +{ + "extracts": + [ + { + "output": "ne-ne.osm.pbf", + "output-format": "pbf", + "bbox": [90,40,180,80] + }, + { + "output": "ne-nw.osm.pbf", + "output-forumat": "pbf", + "bbox": [0,40,90,80] + }, + { + "output": "ne-se.osm.pbf", + "output-format": "pbf", + "bbox": [90,0,180,40] + }, + { + "output": "ne-sw.osm.pbf", + "output-format": "pbf", + "bbox": [0,0,90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-2-nw.json b/osmium-config/osmium-cut-world-step-2-nw.json new file mode 100644 index 0000000..038eed5 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-2-nw.json @@ -0,0 +1,26 @@ +{ + "extracts": + [ + { + "output": "nw-ne.osm.pbf", + "output-format": "pbf", + "bbox": [-90,40,0,80] + }, + { + "output": "nw-nw.osm.pbf", + "output-forumat": "pbf", + "bbox": [-180,40,-90,80] + }, + { + "output": "nw-se.osm.pbf", + "output-format": "pbf", + "bbox": [-90,0,0,40] + }, + { + "output": "nw-sw.osm.pbf", + "output-format": "pbf", + "bbox": [-180,0,-90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-2-se.json b/osmium-config/osmium-cut-world-step-2-se.json new file mode 100644 index 0000000..bfa2027 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-2-se.json @@ -0,0 +1,26 @@ +{ + "extracts": + [ + { + "output": "se-ne.osm.pbf", + "output-format": "pbf", + "bbox": [90,-40,180,0] + }, + { + "output": "se-nw.osm.pbf", + "output-forumat": "pbf", + "bbox": [0,-40,90,0] + }, + { + "output": "se-se.osm.pbf", + "output-format": "pbf", + "bbox": [90,-80,180,-40] + }, + { + "output": "se-sw.osm.pbf", + "output-format": "pbf", + "bbox": [0,-80,90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-2-sw.json b/osmium-config/osmium-cut-world-step-2-sw.json new file mode 100644 index 0000000..c21a34e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-2-sw.json @@ -0,0 +1,26 @@ +{ + "extracts": + [ + { + "output": "sw-ne.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-40,0,0] + }, + { + "output": "sw-nw.osm.pbf", + "output-forumat": "pbf", + "bbox": [-180,-40,-90,0] + }, + { + "output": "sw-se.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-80,0,-40] + }, + { + "output": "sw-sw.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-80,-90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-ne-ne.json b/osmium-config/osmium-cut-world-step-3-ne-ne.json new file mode 100644 index 0000000..f21d146 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-ne-ne.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "ne-ne-1.osm.pbf", + "output-format": "pbf", + "bbox": [90,40,120,80] + }, + { + "output": "ne-ne-2.osm.pbf", + "output-format": "pbf", + "bbox": [120,40,150,80] + }, + { + "output": "ne-ne-3.osm.pbf", + "output-format": "pbf", + "bbox": [150,40,180,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-ne-nw.json b/osmium-config/osmium-cut-world-step-3-ne-nw.json new file mode 100644 index 0000000..0813912 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-ne-nw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "ne-nw-1.osm.pbf", + "output-format": "pbf", + "bbox": [0,40,30,80] + }, + { + "output": "ne-nw-2.osm.pbf", + "output-format": "pbf", + "bbox": [30,40,60,80] + }, + { + "output": "ne-nw-3.osm.pbf", + "output-format": "pbf", + "bbox": [60,40,90,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-ne-se.json b/osmium-config/osmium-cut-world-step-3-ne-se.json new file mode 100644 index 0000000..ade3851 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-ne-se.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "ne-se-1.osm.pbf", + "output-format": "pbf", + "bbox": [90,0,120,40] + }, + { + "output": "ne-se-2.osm.pbf", + "output-format": "pbf", + "bbox": [120,0,150,40] + }, + { + "output": "ne-se-3.osm.pbf", + "output-format": "pbf", + "bbox": [150,0,180,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-ne-sw.json b/osmium-config/osmium-cut-world-step-3-ne-sw.json new file mode 100644 index 0000000..782aa25 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-ne-sw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "ne-sw-1.osm.pbf", + "output-format": "pbf", + "bbox": [0,0,30,40] + }, + { + "output": "ne-sw-2.osm.pbf", + "output-format": "pbf", + "bbox": [30,0,60,40] + }, + { + "output": "ne-sw-3.osm.pbf", + "output-format": "pbf", + "bbox": [60,0,90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-nw-ne.json b/osmium-config/osmium-cut-world-step-3-nw-ne.json new file mode 100644 index 0000000..d94db80 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-nw-ne.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "nw-ne-1.osm.pbf", + "output-format": "pbf", + "bbox": [-90,40,-60,80] + }, + { + "output": "nw-ne-2.osm.pbf", + "output-format": "pbf", + "bbox": [-60,40,-30,80] + }, + { + "output": "nw-ne-3.osm.pbf", + "output-format": "pbf", + "bbox": [-30,40,0,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-nw-nw.json b/osmium-config/osmium-cut-world-step-3-nw-nw.json new file mode 100644 index 0000000..0924cc1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-nw-nw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "nw-nw-1.osm.pbf", + "output-format": "pbf", + "bbox": [-180,40,-150,80] + }, + { + "output": "nw-nw-2.osm.pbf", + "output-format": "pbf", + "bbox": [-150,40,-120,80] + }, + { + "output": "nw-nw-3.osm.pbf", + "output-format": "pbf", + "bbox": [-120,40,-90,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-nw-se.json b/osmium-config/osmium-cut-world-step-3-nw-se.json new file mode 100644 index 0000000..ef38747 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-nw-se.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "nw-se-1.osm.pbf", + "output-format": "pbf", + "bbox": [-90,0,-60,40] + }, + { + "output": "nw-se-2.osm.pbf", + "output-format": "pbf", + "bbox": [-60,0,-30,40] + }, + { + "output": "nw-se-3.osm.pbf", + "output-format": "pbf", + "bbox": [-30,0,0,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-nw-sw.json b/osmium-config/osmium-cut-world-step-3-nw-sw.json new file mode 100644 index 0000000..13d7e6a --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-nw-sw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "nw-sw-1.osm.pbf", + "output-format": "pbf", + "bbox": [-180,0,-150,40] + }, + { + "output": "nw-sw-2.osm.pbf", + "output-format": "pbf", + "bbox": [-150,0,-120,40] + }, + { + "output": "nw-sw-3.osm.pbf", + "output-format": "pbf", + "bbox": [-120,0,-90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-se-ne.json b/osmium-config/osmium-cut-world-step-3-se-ne.json new file mode 100644 index 0000000..8bddf29 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-se-ne.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "se-ne-1.osm.pbf", + "output-format": "pbf", + "bbox": [90,-40,120,0] + }, + { + "output": "se-ne-2.osm.pbf", + "output-format": "pbf", + "bbox": [120,-40,150,0] + }, + { + "output": "se-ne-3.osm.pbf", + "output-format": "pbf", + "bbox": [150,-40,180,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-se-nw.json b/osmium-config/osmium-cut-world-step-3-se-nw.json new file mode 100644 index 0000000..d1e629f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-se-nw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "se-nw-1.osm.pbf", + "output-format": "pbf", + "bbox": [0,-40,30,0] + }, + { + "output": "se-nw-2.osm.pbf", + "output-format": "pbf", + "bbox": [30,-40,60,0] + }, + { + "output": "se-nw-3.osm.pbf", + "output-format": "pbf", + "bbox": [60,-40,90,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-se-se.json b/osmium-config/osmium-cut-world-step-3-se-se.json new file mode 100644 index 0000000..87f7f28 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-se-se.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "se-se-1.osm.pbf", + "output-format": "pbf", + "bbox": [90,-80,120,-40] + }, + { + "output": "se-se-2.osm.pbf", + "output-format": "pbf", + "bbox": [120,-80,150,-40] + }, + { + "output": "se-se-3.osm.pbf", + "output-format": "pbf", + "bbox": [150,-80,180,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-se-sw.json b/osmium-config/osmium-cut-world-step-3-se-sw.json new file mode 100644 index 0000000..01d0fd2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-se-sw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "se-sw-1.osm.pbf", + "output-format": "pbf", + "bbox": [0,-80,30,-40] + }, + { + "output": "se-sw-2.osm.pbf", + "output-format": "pbf", + "bbox": [30,-80,60,-40] + }, + { + "output": "se-sw-3.osm.pbf", + "output-format": "pbf", + "bbox": [60,-80,90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-sw-ne.json b/osmium-config/osmium-cut-world-step-3-sw-ne.json new file mode 100644 index 0000000..a758d01 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-sw-ne.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "sw-ne-1.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-40,-60,0] + }, + { + "output": "sw-ne-2.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-40,-30,0] + }, + { + "output": "sw-ne-3.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-40,0,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-sw-nw.json b/osmium-config/osmium-cut-world-step-3-sw-nw.json new file mode 100644 index 0000000..a3b0115 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-sw-nw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "sw-nw-1.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-40,-150,0] + }, + { + "output": "sw-nw-2.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-40,-120,0] + }, + { + "output": "sw-nw-3.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-40,-90,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-sw-se.json b/osmium-config/osmium-cut-world-step-3-sw-se.json new file mode 100644 index 0000000..89c8362 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-sw-se.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "sw-se-1.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-80,-60,-40] + }, + { + "output": "sw-se-2.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-80,-30,-40] + }, + { + "output": "sw-se-3.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-80,0,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-3-sw-sw.json b/osmium-config/osmium-cut-world-step-3-sw-sw.json new file mode 100644 index 0000000..0cd0268 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-3-sw-sw.json @@ -0,0 +1,21 @@ +{ + "extracts": + [ + { + "output": "sw-sw-1.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-80,-150,-40] + }, + { + "output": "sw-sw-2.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-80,-120,-40] + }, + { + "output": "sw-sw-3.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-80,-90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-ne-1.json b/osmium-config/osmium-cut-world-step-4-ne-ne-1.json new file mode 100644 index 0000000..3bd9824 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-ne-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-ne-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [90,40,120,60] + }, + { + "output": "ne-ne-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [90,60,120,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-ne-2.json b/osmium-config/osmium-cut-world-step-4-ne-ne-2.json new file mode 100644 index 0000000..51e6e48 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-ne-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-ne-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [120,40,150,60] + }, + { + "output": "ne-ne-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [120,60,150,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-ne-3.json b/osmium-config/osmium-cut-world-step-4-ne-ne-3.json new file mode 100644 index 0000000..050016b --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-ne-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-ne-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [150,40,180,60] + }, + { + "output": "ne-ne-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [150,60,180,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-nw-1.json b/osmium-config/osmium-cut-world-step-4-ne-nw-1.json new file mode 100644 index 0000000..0c73404 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-nw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-nw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [0,40,30,60] + }, + { + "output": "ne-nw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [0,60,30,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-nw-2.json b/osmium-config/osmium-cut-world-step-4-ne-nw-2.json new file mode 100644 index 0000000..05695a0 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-nw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-nw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [30,40,60,60] + }, + { + "output": "ne-nw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [30,60,60,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-nw-3.json b/osmium-config/osmium-cut-world-step-4-ne-nw-3.json new file mode 100644 index 0000000..1e45c13 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-nw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-nw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [60,40,90,60] + }, + { + "output": "ne-nw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [60,60,90,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-se-1.json b/osmium-config/osmium-cut-world-step-4-ne-se-1.json new file mode 100644 index 0000000..a10295c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-se-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-se-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [90,0,120,20] + }, + { + "output": "ne-se-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [90,20,120,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-se-2.json b/osmium-config/osmium-cut-world-step-4-ne-se-2.json new file mode 100644 index 0000000..6ba899e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-se-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-se-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [120,0,150,20] + }, + { + "output": "ne-se-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [120,20,150,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-se-3.json b/osmium-config/osmium-cut-world-step-4-ne-se-3.json new file mode 100644 index 0000000..fc7a312 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-se-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-se-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [150,0,180,20] + }, + { + "output": "ne-se-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [150,20,180,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-sw-1.json b/osmium-config/osmium-cut-world-step-4-ne-sw-1.json new file mode 100644 index 0000000..1922d38 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-sw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-sw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [0,0,30,20] + }, + { + "output": "ne-sw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [0,20,30,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-sw-2.json b/osmium-config/osmium-cut-world-step-4-ne-sw-2.json new file mode 100644 index 0000000..38256c3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-sw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-sw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [30,0,60,20] + }, + { + "output": "ne-sw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [30,20,60,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-ne-sw-3.json b/osmium-config/osmium-cut-world-step-4-ne-sw-3.json new file mode 100644 index 0000000..9303ce9 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-ne-sw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "ne-sw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [60,0,90,20] + }, + { + "output": "ne-sw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [60,20,90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-ne-1.json b/osmium-config/osmium-cut-world-step-4-nw-ne-1.json new file mode 100644 index 0000000..f117cf1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-ne-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-ne-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-90,40,-60,60] + }, + { + "output": "nw-ne-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-90,60,-60,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-ne-2.json b/osmium-config/osmium-cut-world-step-4-nw-ne-2.json new file mode 100644 index 0000000..f01efe2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-ne-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-ne-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-60,40,-30,60] + }, + { + "output": "nw-ne-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-60,60,-30,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-ne-3.json b/osmium-config/osmium-cut-world-step-4-nw-ne-3.json new file mode 100644 index 0000000..27a9d8e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-ne-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-ne-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-30,40,0,60] + }, + { + "output": "nw-ne-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-30,60,0,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-nw-1.json b/osmium-config/osmium-cut-world-step-4-nw-nw-1.json new file mode 100644 index 0000000..5b8adff --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-nw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-nw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-180,40,-150,60] + }, + { + "output": "nw-nw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-180,60,-150,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-nw-2.json b/osmium-config/osmium-cut-world-step-4-nw-nw-2.json new file mode 100644 index 0000000..be825fc --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-nw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-nw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-150,40,-120,60] + }, + { + "output": "nw-nw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-150,60,-120,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-nw-3.json b/osmium-config/osmium-cut-world-step-4-nw-nw-3.json new file mode 100644 index 0000000..2c33fe8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-nw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-nw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-120,40,-90,60] + }, + { + "output": "nw-nw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-120,60,-90,80] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-se-1.json b/osmium-config/osmium-cut-world-step-4-nw-se-1.json new file mode 100644 index 0000000..51d9771 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-se-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-se-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-90,0,-60,20] + }, + { + "output": "nw-se-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-90,20,-60,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-se-2.json b/osmium-config/osmium-cut-world-step-4-nw-se-2.json new file mode 100644 index 0000000..6a02ed4 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-se-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-se-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-60,0,-30,20] + }, + { + "output": "nw-se-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-60,20,-30,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-se-3.json b/osmium-config/osmium-cut-world-step-4-nw-se-3.json new file mode 100644 index 0000000..fd60fef --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-se-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-se-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-30,0,0,20] + }, + { + "output": "nw-se-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-30,20,0,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-sw-1.json b/osmium-config/osmium-cut-world-step-4-nw-sw-1.json new file mode 100644 index 0000000..98c47f3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-sw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-sw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-180,0,-150,20] + }, + { + "output": "nw-sw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-180,20,-150,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-sw-2.json b/osmium-config/osmium-cut-world-step-4-nw-sw-2.json new file mode 100644 index 0000000..759bb63 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-sw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-sw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-150,0,-120,20] + }, + { + "output": "nw-sw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-150,20,-120,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-nw-sw-3.json b/osmium-config/osmium-cut-world-step-4-nw-sw-3.json new file mode 100644 index 0000000..268e801 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-nw-sw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "nw-sw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-120,0,-90,20] + }, + { + "output": "nw-sw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-120,20,-90,40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-ne-1.json b/osmium-config/osmium-cut-world-step-4-se-ne-1.json new file mode 100644 index 0000000..993b227 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-ne-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-ne-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [90,-40,120,-20] + }, + { + "output": "se-ne-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [90,-20,120,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-ne-2.json b/osmium-config/osmium-cut-world-step-4-se-ne-2.json new file mode 100644 index 0000000..e89914d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-ne-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-ne-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [120,-40,150,-20] + }, + { + "output": "se-ne-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [120,-20,150,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-ne-3.json b/osmium-config/osmium-cut-world-step-4-se-ne-3.json new file mode 100644 index 0000000..7df7fa2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-ne-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-ne-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [150,-40,180,-20] + }, + { + "output": "se-ne-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [150,-20,180,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-nw-1.json b/osmium-config/osmium-cut-world-step-4-se-nw-1.json new file mode 100644 index 0000000..a6db41c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-nw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-nw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [0,-40,30,-20] + }, + { + "output": "se-nw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [0,-20,30,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-nw-2.json b/osmium-config/osmium-cut-world-step-4-se-nw-2.json new file mode 100644 index 0000000..aacf266 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-nw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-nw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [30,-40,60,-20] + }, + { + "output": "se-nw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [30,-20,60,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-nw-3.json b/osmium-config/osmium-cut-world-step-4-se-nw-3.json new file mode 100644 index 0000000..64689e7 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-nw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-nw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [60,-40,90,-20] + }, + { + "output": "se-nw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [60,-20,90,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-se-1.json b/osmium-config/osmium-cut-world-step-4-se-se-1.json new file mode 100644 index 0000000..12a61f9 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-se-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-se-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [90,-80,120,-60] + }, + { + "output": "se-se-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [90,-60,120,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-se-2.json b/osmium-config/osmium-cut-world-step-4-se-se-2.json new file mode 100644 index 0000000..907ebe4 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-se-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-se-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [120,-80,150,-60] + }, + { + "output": "se-se-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [120,-60,150,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-se-3.json b/osmium-config/osmium-cut-world-step-4-se-se-3.json new file mode 100644 index 0000000..d941518 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-se-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-se-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [150,-80,180,-60] + }, + { + "output": "se-se-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [150,-60,180,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-sw-1.json b/osmium-config/osmium-cut-world-step-4-se-sw-1.json new file mode 100644 index 0000000..7a9c7ea --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-sw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-sw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [0,-80,30,-60] + }, + { + "output": "se-sw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [0,-60,30,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-sw-2.json b/osmium-config/osmium-cut-world-step-4-se-sw-2.json new file mode 100644 index 0000000..e1f4229 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-sw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-sw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [30,-80,60,-60] + }, + { + "output": "se-sw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [30,-60,60,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-se-sw-3.json b/osmium-config/osmium-cut-world-step-4-se-sw-3.json new file mode 100644 index 0000000..4f77992 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-se-sw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "se-sw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [60,-80,90,-60] + }, + { + "output": "se-sw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [60,-60,90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-ne-1.json b/osmium-config/osmium-cut-world-step-4-sw-ne-1.json new file mode 100644 index 0000000..d972425 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-ne-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-ne-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-40,-60,-20] + }, + { + "output": "sw-ne-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-20,-60,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-ne-2.json b/osmium-config/osmium-cut-world-step-4-sw-ne-2.json new file mode 100644 index 0000000..e474f06 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-ne-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-ne-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-40,-30,-20] + }, + { + "output": "sw-ne-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-20,-30,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-ne-3.json b/osmium-config/osmium-cut-world-step-4-sw-ne-3.json new file mode 100644 index 0000000..2d0ae7b --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-ne-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-ne-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-40,0,-20] + }, + { + "output": "sw-ne-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-20,0,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-nw-1.json b/osmium-config/osmium-cut-world-step-4-sw-nw-1.json new file mode 100644 index 0000000..21ec0a7 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-nw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-nw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-40,-150,-20] + }, + { + "output": "sw-nw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-20,-150,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-nw-2.json b/osmium-config/osmium-cut-world-step-4-sw-nw-2.json new file mode 100644 index 0000000..1bccb2f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-nw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-nw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-40,-120,-20] + }, + { + "output": "sw-nw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-20,-120,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-nw-3.json b/osmium-config/osmium-cut-world-step-4-sw-nw-3.json new file mode 100644 index 0000000..fbbd6a2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-nw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-nw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-40,-90,-20] + }, + { + "output": "sw-nw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-20,-90,0] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-se-1.json b/osmium-config/osmium-cut-world-step-4-sw-se-1.json new file mode 100644 index 0000000..73f474e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-se-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-se-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-80,-60,-60] + }, + { + "output": "sw-se-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-60,-60,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-se-2.json b/osmium-config/osmium-cut-world-step-4-sw-se-2.json new file mode 100644 index 0000000..addd853 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-se-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-se-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-80,-30,-60] + }, + { + "output": "sw-se-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-60,-30,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-se-3.json b/osmium-config/osmium-cut-world-step-4-sw-se-3.json new file mode 100644 index 0000000..e59c997 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-se-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-se-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-80,0,-60] + }, + { + "output": "sw-se-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-60,0,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-sw-1.json b/osmium-config/osmium-cut-world-step-4-sw-sw-1.json new file mode 100644 index 0000000..51a985e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-sw-1.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-sw-1-s.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-80,-150,-60] + }, + { + "output": "sw-sw-1-n.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-60,-150,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-sw-2.json b/osmium-config/osmium-cut-world-step-4-sw-sw-2.json new file mode 100644 index 0000000..ec81803 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-sw-2.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-sw-2-s.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-80,-120,-60] + }, + { + "output": "sw-sw-2-n.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-60,-120,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-4-sw-sw-3.json b/osmium-config/osmium-cut-world-step-4-sw-sw-3.json new file mode 100644 index 0000000..a50a54e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-4-sw-sw-3.json @@ -0,0 +1,16 @@ +{ + "extracts": + [ + { + "output": "sw-sw-3-s.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-80,-90,-60] + }, + { + "output": "sw-sw-3-n.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-60,-90,-40] + }, + ], + "directory": "." +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-1-n.json b/osmium-config/osmium-cut-world-step-5-ne-ne-1-n.json new file mode 100644 index 0000000..c46997a --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090n70.osm.pbf", + "output-format": "pbf", + "bbox": [90,70,100,80] + }, + { + "output": "e100n70.osm.pbf", + "output-format": "pbf", + "bbox": [100,70,110,80] + }, + { + "output": "e110n70.osm.pbf", + "output-format": "pbf", + "bbox": [110,70,120,80] + }, + { + "output": "e090n60.osm.pbf", + "output-format": "pbf", + "bbox": [90,60,100,70] + }, + { + "output": "e100n60.osm.pbf", + "output-format": "pbf", + "bbox": [100,60,110,70] + }, + { + "output": "e110n60.osm.pbf", + "output-format": "pbf", + "bbox": [110,60,120,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-1-s.json b/osmium-config/osmium-cut-world-step-5-ne-ne-1-s.json new file mode 100644 index 0000000..27c3a82 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090n50.osm.pbf", + "output-format": "pbf", + "bbox": [90,50,100,60] + }, + { + "output": "e100n50.osm.pbf", + "output-format": "pbf", + "bbox": [100,50,110,60] + }, + { + "output": "e110n50.osm.pbf", + "output-format": "pbf", + "bbox": [110,50,120,60] + }, + { + "output": "e090n40.osm.pbf", + "output-format": "pbf", + "bbox": [90,40,100,50] + }, + { + "output": "e100n40.osm.pbf", + "output-format": "pbf", + "bbox": [100,40,110,50] + }, + { + "output": "e110n40.osm.pbf", + "output-format": "pbf", + "bbox": [110,40,120,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-2-n.json b/osmium-config/osmium-cut-world-step-5-ne-ne-2-n.json new file mode 100644 index 0000000..b4e3a17 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120n70.osm.pbf", + "output-format": "pbf", + "bbox": [120,70,130,80] + }, + { + "output": "e130n70.osm.pbf", + "output-format": "pbf", + "bbox": [130,70,140,80] + }, + { + "output": "e140n70.osm.pbf", + "output-format": "pbf", + "bbox": [140,70,150,80] + }, + { + "output": "e120n60.osm.pbf", + "output-format": "pbf", + "bbox": [120,60,130,70] + }, + { + "output": "e130n60.osm.pbf", + "output-format": "pbf", + "bbox": [130,60,140,70] + }, + { + "output": "e140n60.osm.pbf", + "output-format": "pbf", + "bbox": [140,60,150,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-2-s.json b/osmium-config/osmium-cut-world-step-5-ne-ne-2-s.json new file mode 100644 index 0000000..d17e64c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120n50.osm.pbf", + "output-format": "pbf", + "bbox": [120,50,130,60] + }, + { + "output": "e130n50.osm.pbf", + "output-format": "pbf", + "bbox": [130,50,140,60] + }, + { + "output": "e140n50.osm.pbf", + "output-format": "pbf", + "bbox": [140,50,150,60] + }, + { + "output": "e120n40.osm.pbf", + "output-format": "pbf", + "bbox": [120,40,130,50] + }, + { + "output": "e130n40.osm.pbf", + "output-format": "pbf", + "bbox": [130,40,140,50] + }, + { + "output": "e140n40.osm.pbf", + "output-format": "pbf", + "bbox": [140,40,150,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-3-n.json b/osmium-config/osmium-cut-world-step-5-ne-ne-3-n.json new file mode 100644 index 0000000..bd3e2f2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150n70.osm.pbf", + "output-format": "pbf", + "bbox": [150,70,160,80] + }, + { + "output": "e160n70.osm.pbf", + "output-format": "pbf", + "bbox": [160,70,170,80] + }, + { + "output": "e170n70.osm.pbf", + "output-format": "pbf", + "bbox": [170,70,180,80] + }, + { + "output": "e150n60.osm.pbf", + "output-format": "pbf", + "bbox": [150,60,160,70] + }, + { + "output": "e160n60.osm.pbf", + "output-format": "pbf", + "bbox": [160,60,170,70] + }, + { + "output": "e170n60.osm.pbf", + "output-format": "pbf", + "bbox": [170,60,180,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-ne-3-s.json b/osmium-config/osmium-cut-world-step-5-ne-ne-3-s.json new file mode 100644 index 0000000..91ff7e1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-ne-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150n50.osm.pbf", + "output-format": "pbf", + "bbox": [150,50,160,60] + }, + { + "output": "e160n50.osm.pbf", + "output-format": "pbf", + "bbox": [160,50,170,60] + }, + { + "output": "e170n50.osm.pbf", + "output-format": "pbf", + "bbox": [170,50,180,60] + }, + { + "output": "e150n40.osm.pbf", + "output-format": "pbf", + "bbox": [150,40,160,50] + }, + { + "output": "e160n40.osm.pbf", + "output-format": "pbf", + "bbox": [160,40,170,50] + }, + { + "output": "e170n40.osm.pbf", + "output-format": "pbf", + "bbox": [170,40,180,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-1-n.json b/osmium-config/osmium-cut-world-step-5-ne-nw-1-n.json new file mode 100644 index 0000000..ad7a20c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000n70.osm.pbf", + "output-format": "pbf", + "bbox": [0,70,10,80] + }, + { + "output": "e010n70.osm.pbf", + "output-format": "pbf", + "bbox": [10,70,20,80] + }, + { + "output": "e020n70.osm.pbf", + "output-format": "pbf", + "bbox": [20,70,30,80] + }, + { + "output": "e000n60.osm.pbf", + "output-format": "pbf", + "bbox": [0,60,10,70] + }, + { + "output": "e010n60.osm.pbf", + "output-format": "pbf", + "bbox": [10,60,20,70] + }, + { + "output": "e020n60.osm.pbf", + "output-format": "pbf", + "bbox": [20,60,30,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-1-s.json b/osmium-config/osmium-cut-world-step-5-ne-nw-1-s.json new file mode 100644 index 0000000..d31e6c9 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000n50.osm.pbf", + "output-format": "pbf", + "bbox": [0,50,10,60] + }, + { + "output": "e010n50.osm.pbf", + "output-format": "pbf", + "bbox": [10,50,20,60] + }, + { + "output": "e020n50.osm.pbf", + "output-format": "pbf", + "bbox": [20,50,30,60] + }, + { + "output": "e000n40.osm.pbf", + "output-format": "pbf", + "bbox": [0,40,10,50] + }, + { + "output": "e010n40.osm.pbf", + "output-format": "pbf", + "bbox": [10,40,20,50] + }, + { + "output": "e020n40.osm.pbf", + "output-format": "pbf", + "bbox": [20,40,30,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-2-n.json b/osmium-config/osmium-cut-world-step-5-ne-nw-2-n.json new file mode 100644 index 0000000..78897ac --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030n70.osm.pbf", + "output-format": "pbf", + "bbox": [30,70,40,80] + }, + { + "output": "e040n70.osm.pbf", + "output-format": "pbf", + "bbox": [40,70,50,80] + }, + { + "output": "e050n70.osm.pbf", + "output-format": "pbf", + "bbox": [50,70,60,80] + }, + { + "output": "e030n60.osm.pbf", + "output-format": "pbf", + "bbox": [30,60,40,70] + }, + { + "output": "e040n60.osm.pbf", + "output-format": "pbf", + "bbox": [40,60,50,70] + }, + { + "output": "e050n60.osm.pbf", + "output-format": "pbf", + "bbox": [50,60,60,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-2-s.json b/osmium-config/osmium-cut-world-step-5-ne-nw-2-s.json new file mode 100644 index 0000000..00c90e3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030n50.osm.pbf", + "output-format": "pbf", + "bbox": [30,50,40,60] + }, + { + "output": "e040n50.osm.pbf", + "output-format": "pbf", + "bbox": [40,50,50,60] + }, + { + "output": "e050n50.osm.pbf", + "output-format": "pbf", + "bbox": [50,50,60,60] + }, + { + "output": "e030n40.osm.pbf", + "output-format": "pbf", + "bbox": [30,40,40,50] + }, + { + "output": "e040n40.osm.pbf", + "output-format": "pbf", + "bbox": [40,40,50,50] + }, + { + "output": "e050n40.osm.pbf", + "output-format": "pbf", + "bbox": [50,40,60,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-3-n.json b/osmium-config/osmium-cut-world-step-5-ne-nw-3-n.json new file mode 100644 index 0000000..10321e2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060n70.osm.pbf", + "output-format": "pbf", + "bbox": [60,70,70,80] + }, + { + "output": "e070n70.osm.pbf", + "output-format": "pbf", + "bbox": [70,70,80,80] + }, + { + "output": "e080n70.osm.pbf", + "output-format": "pbf", + "bbox": [80,70,90,80] + }, + { + "output": "e060n60.osm.pbf", + "output-format": "pbf", + "bbox": [60,60,70,70] + }, + { + "output": "e070n60.osm.pbf", + "output-format": "pbf", + "bbox": [70,60,80,70] + }, + { + "output": "e080n60.osm.pbf", + "output-format": "pbf", + "bbox": [80,60,90,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-nw-3-s.json b/osmium-config/osmium-cut-world-step-5-ne-nw-3-s.json new file mode 100644 index 0000000..0688734 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-nw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060n50.osm.pbf", + "output-format": "pbf", + "bbox": [60,50,70,60] + }, + { + "output": "e070n50.osm.pbf", + "output-format": "pbf", + "bbox": [70,50,80,60] + }, + { + "output": "e080n50.osm.pbf", + "output-format": "pbf", + "bbox": [80,50,90,60] + }, + { + "output": "e060n40.osm.pbf", + "output-format": "pbf", + "bbox": [60,40,70,50] + }, + { + "output": "e070n40.osm.pbf", + "output-format": "pbf", + "bbox": [70,40,80,50] + }, + { + "output": "e080n40.osm.pbf", + "output-format": "pbf", + "bbox": [80,40,90,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-1-n.json b/osmium-config/osmium-cut-world-step-5-ne-se-1-n.json new file mode 100644 index 0000000..8de5b31 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090n30.osm.pbf", + "output-format": "pbf", + "bbox": [90,30,100,40] + }, + { + "output": "e100n30.osm.pbf", + "output-format": "pbf", + "bbox": [100,30,110,40] + }, + { + "output": "e110n30.osm.pbf", + "output-format": "pbf", + "bbox": [110,30,120,40] + }, + { + "output": "e090n20.osm.pbf", + "output-format": "pbf", + "bbox": [90,20,100,30] + }, + { + "output": "e100n20.osm.pbf", + "output-format": "pbf", + "bbox": [100,20,110,30] + }, + { + "output": "e110n20.osm.pbf", + "output-format": "pbf", + "bbox": [110,20,120,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-1-s.json b/osmium-config/osmium-cut-world-step-5-ne-se-1-s.json new file mode 100644 index 0000000..b781091 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090n10.osm.pbf", + "output-format": "pbf", + "bbox": [90,10,100,20] + }, + { + "output": "e100n10.osm.pbf", + "output-format": "pbf", + "bbox": [100,10,110,20] + }, + { + "output": "e110n10.osm.pbf", + "output-format": "pbf", + "bbox": [110,10,120,20] + }, + { + "output": "e090n00.osm.pbf", + "output-format": "pbf", + "bbox": [90,0,100,10] + }, + { + "output": "e100n00.osm.pbf", + "output-format": "pbf", + "bbox": [100,0,110,10] + }, + { + "output": "e110n00.osm.pbf", + "output-format": "pbf", + "bbox": [110,0,120,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-2-n.json b/osmium-config/osmium-cut-world-step-5-ne-se-2-n.json new file mode 100644 index 0000000..dbaf9d5 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120n30.osm.pbf", + "output-format": "pbf", + "bbox": [120,30,130,40] + }, + { + "output": "e130n30.osm.pbf", + "output-format": "pbf", + "bbox": [130,30,140,40] + }, + { + "output": "e140n30.osm.pbf", + "output-format": "pbf", + "bbox": [140,30,150,40] + }, + { + "output": "e120n20.osm.pbf", + "output-format": "pbf", + "bbox": [120,20,130,30] + }, + { + "output": "e130n20.osm.pbf", + "output-format": "pbf", + "bbox": [130,20,140,30] + }, + { + "output": "e140n20.osm.pbf", + "output-format": "pbf", + "bbox": [140,20,150,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-2-s.json b/osmium-config/osmium-cut-world-step-5-ne-se-2-s.json new file mode 100644 index 0000000..8ce1d86 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120n10.osm.pbf", + "output-format": "pbf", + "bbox": [120,10,130,20] + }, + { + "output": "e130n10.osm.pbf", + "output-format": "pbf", + "bbox": [130,10,140,20] + }, + { + "output": "e140n10.osm.pbf", + "output-format": "pbf", + "bbox": [140,10,150,20] + }, + { + "output": "e120n00.osm.pbf", + "output-format": "pbf", + "bbox": [120,0,130,10] + }, + { + "output": "e130n00.osm.pbf", + "output-format": "pbf", + "bbox": [130,0,140,10] + }, + { + "output": "e140n00.osm.pbf", + "output-format": "pbf", + "bbox": [140,0,150,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-3-n.json b/osmium-config/osmium-cut-world-step-5-ne-se-3-n.json new file mode 100644 index 0000000..c14a0fe --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150n30.osm.pbf", + "output-format": "pbf", + "bbox": [150,30,160,40] + }, + { + "output": "e160n30.osm.pbf", + "output-format": "pbf", + "bbox": [160,30,170,40] + }, + { + "output": "e170n30.osm.pbf", + "output-format": "pbf", + "bbox": [170,30,180,40] + }, + { + "output": "e150n20.osm.pbf", + "output-format": "pbf", + "bbox": [150,20,160,30] + }, + { + "output": "e160n20.osm.pbf", + "output-format": "pbf", + "bbox": [160,20,170,30] + }, + { + "output": "e170n20.osm.pbf", + "output-format": "pbf", + "bbox": [170,20,180,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-se-3-s.json b/osmium-config/osmium-cut-world-step-5-ne-se-3-s.json new file mode 100644 index 0000000..6edd726 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-se-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150n10.osm.pbf", + "output-format": "pbf", + "bbox": [150,10,160,20] + }, + { + "output": "e160n10.osm.pbf", + "output-format": "pbf", + "bbox": [160,10,170,20] + }, + { + "output": "e170n10.osm.pbf", + "output-format": "pbf", + "bbox": [170,10,180,20] + }, + { + "output": "e150n00.osm.pbf", + "output-format": "pbf", + "bbox": [150,0,160,10] + }, + { + "output": "e160n00.osm.pbf", + "output-format": "pbf", + "bbox": [160,0,170,10] + }, + { + "output": "e170n00.osm.pbf", + "output-format": "pbf", + "bbox": [170,0,180,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-1-n.json b/osmium-config/osmium-cut-world-step-5-ne-sw-1-n.json new file mode 100644 index 0000000..3282c7f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000n30.osm.pbf", + "output-format": "pbf", + "bbox": [0,30,10,40] + }, + { + "output": "e010n30.osm.pbf", + "output-format": "pbf", + "bbox": [10,30,20,40] + }, + { + "output": "e020n30.osm.pbf", + "output-format": "pbf", + "bbox": [20,30,30,40] + }, + { + "output": "e000n20.osm.pbf", + "output-format": "pbf", + "bbox": [0,20,10,30] + }, + { + "output": "e010n20.osm.pbf", + "output-format": "pbf", + "bbox": [10,20,20,30] + }, + { + "output": "e020n20.osm.pbf", + "output-format": "pbf", + "bbox": [20,20,30,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-1-s.json b/osmium-config/osmium-cut-world-step-5-ne-sw-1-s.json new file mode 100644 index 0000000..2cbb4b8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000n10.osm.pbf", + "output-format": "pbf", + "bbox": [0,10,10,20] + }, + { + "output": "e010n10.osm.pbf", + "output-format": "pbf", + "bbox": [10,10,20,20] + }, + { + "output": "e020n10.osm.pbf", + "output-format": "pbf", + "bbox": [20,10,30,20] + }, + { + "output": "e000n00.osm.pbf", + "output-format": "pbf", + "bbox": [0,0,10,10] + }, + { + "output": "e010n00.osm.pbf", + "output-format": "pbf", + "bbox": [10,0,20,10] + }, + { + "output": "e020n00.osm.pbf", + "output-format": "pbf", + "bbox": [20,0,30,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-2-n.json b/osmium-config/osmium-cut-world-step-5-ne-sw-2-n.json new file mode 100644 index 0000000..5f1218d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030n30.osm.pbf", + "output-format": "pbf", + "bbox": [30,30,40,40] + }, + { + "output": "e040n30.osm.pbf", + "output-format": "pbf", + "bbox": [40,30,50,40] + }, + { + "output": "e050n30.osm.pbf", + "output-format": "pbf", + "bbox": [50,30,60,40] + }, + { + "output": "e030n20.osm.pbf", + "output-format": "pbf", + "bbox": [30,20,40,30] + }, + { + "output": "e040n20.osm.pbf", + "output-format": "pbf", + "bbox": [40,20,50,30] + }, + { + "output": "e050n20.osm.pbf", + "output-format": "pbf", + "bbox": [50,20,60,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-2-s.json b/osmium-config/osmium-cut-world-step-5-ne-sw-2-s.json new file mode 100644 index 0000000..746ea61 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030n10.osm.pbf", + "output-format": "pbf", + "bbox": [30,10,40,20] + }, + { + "output": "e040n10.osm.pbf", + "output-format": "pbf", + "bbox": [40,10,50,20] + }, + { + "output": "e050n10.osm.pbf", + "output-format": "pbf", + "bbox": [50,10,60,20] + }, + { + "output": "e030n00.osm.pbf", + "output-format": "pbf", + "bbox": [30,0,40,10] + }, + { + "output": "e040n00.osm.pbf", + "output-format": "pbf", + "bbox": [40,0,50,10] + }, + { + "output": "e050n00.osm.pbf", + "output-format": "pbf", + "bbox": [50,0,60,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-3-n.json b/osmium-config/osmium-cut-world-step-5-ne-sw-3-n.json new file mode 100644 index 0000000..a1c5fd2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060n30.osm.pbf", + "output-format": "pbf", + "bbox": [60,30,70,40] + }, + { + "output": "e070n30.osm.pbf", + "output-format": "pbf", + "bbox": [70,30,80,40] + }, + { + "output": "e080n30.osm.pbf", + "output-format": "pbf", + "bbox": [80,30,90,40] + }, + { + "output": "e060n20.osm.pbf", + "output-format": "pbf", + "bbox": [60,20,70,30] + }, + { + "output": "e070n20.osm.pbf", + "output-format": "pbf", + "bbox": [70,20,80,30] + }, + { + "output": "e080n20.osm.pbf", + "output-format": "pbf", + "bbox": [80,20,90,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-ne-sw-3-s.json b/osmium-config/osmium-cut-world-step-5-ne-sw-3-s.json new file mode 100644 index 0000000..40119b1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-ne-sw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060n10.osm.pbf", + "output-format": "pbf", + "bbox": [60,10,70,20] + }, + { + "output": "e070n10.osm.pbf", + "output-format": "pbf", + "bbox": [70,10,80,20] + }, + { + "output": "e080n10.osm.pbf", + "output-format": "pbf", + "bbox": [80,10,90,20] + }, + { + "output": "e060n00.osm.pbf", + "output-format": "pbf", + "bbox": [60,0,70,10] + }, + { + "output": "e070n00.osm.pbf", + "output-format": "pbf", + "bbox": [70,0,80,10] + }, + { + "output": "e080n00.osm.pbf", + "output-format": "pbf", + "bbox": [80,0,90,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-1-n.json b/osmium-config/osmium-cut-world-step-5-nw-ne-1-n.json new file mode 100644 index 0000000..3794aeb --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070n70.osm.pbf", + "output-format": "pbf", + "bbox": [-70,70,-60,80] + }, + { + "output": "w080n70.osm.pbf", + "output-format": "pbf", + "bbox": [-80,70,-70,80] + }, + { + "output": "w090n70.osm.pbf", + "output-format": "pbf", + "bbox": [-90,70,-80,80] + }, + { + "output": "w070n60.osm.pbf", + "output-format": "pbf", + "bbox": [-70,60,-60,70] + }, + { + "output": "w080n60.osm.pbf", + "output-format": "pbf", + "bbox": [-80,60,-70,70] + }, + { + "output": "w090n60.osm.pbf", + "output-format": "pbf", + "bbox": [-90,60,-80,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-1-s.json b/osmium-config/osmium-cut-world-step-5-nw-ne-1-s.json new file mode 100644 index 0000000..1edf875 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070n50.osm.pbf", + "output-format": "pbf", + "bbox": [-70,50,-60,60] + }, + { + "output": "w080n50.osm.pbf", + "output-format": "pbf", + "bbox": [-80,50,-70,60] + }, + { + "output": "w090n50.osm.pbf", + "output-format": "pbf", + "bbox": [-90,50,-80,60] + }, + { + "output": "w070n40.osm.pbf", + "output-format": "pbf", + "bbox": [-70,40,-60,50] + }, + { + "output": "w080n40.osm.pbf", + "output-format": "pbf", + "bbox": [-80,40,-70,50] + }, + { + "output": "w090n40.osm.pbf", + "output-format": "pbf", + "bbox": [-90,40,-80,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-2-n.json b/osmium-config/osmium-cut-world-step-5-nw-ne-2-n.json new file mode 100644 index 0000000..ceb27a7 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040n70.osm.pbf", + "output-format": "pbf", + "bbox": [-40,70,-30,80] + }, + { + "output": "w050n70.osm.pbf", + "output-format": "pbf", + "bbox": [-50,70,-40,80] + }, + { + "output": "w060n70.osm.pbf", + "output-format": "pbf", + "bbox": [-60,70,-50,80] + }, + { + "output": "w040n60.osm.pbf", + "output-format": "pbf", + "bbox": [-40,60,-30,70] + }, + { + "output": "w050n60.osm.pbf", + "output-format": "pbf", + "bbox": [-50,60,-40,70] + }, + { + "output": "w060n60.osm.pbf", + "output-format": "pbf", + "bbox": [-60,60,-50,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-2-s.json b/osmium-config/osmium-cut-world-step-5-nw-ne-2-s.json new file mode 100644 index 0000000..61df4f1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040n50.osm.pbf", + "output-format": "pbf", + "bbox": [-40,50,-30,60] + }, + { + "output": "w050n50.osm.pbf", + "output-format": "pbf", + "bbox": [-50,50,-40,60] + }, + { + "output": "w060n50.osm.pbf", + "output-format": "pbf", + "bbox": [-60,50,-50,60] + }, + { + "output": "w040n40.osm.pbf", + "output-format": "pbf", + "bbox": [-40,40,-30,50] + }, + { + "output": "w050n40.osm.pbf", + "output-format": "pbf", + "bbox": [-50,40,-40,50] + }, + { + "output": "w060n40.osm.pbf", + "output-format": "pbf", + "bbox": [-60,40,-50,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-3-n.json b/osmium-config/osmium-cut-world-step-5-nw-ne-3-n.json new file mode 100644 index 0000000..3d0fde9 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010n70.osm.pbf", + "output-format": "pbf", + "bbox": [-10,70,-0,80] + }, + { + "output": "w020n70.osm.pbf", + "output-format": "pbf", + "bbox": [-20,70,-10,80] + }, + { + "output": "w030n70.osm.pbf", + "output-format": "pbf", + "bbox": [-30,70,-20,80] + }, + { + "output": "w010n60.osm.pbf", + "output-format": "pbf", + "bbox": [-10,60,-0,70] + }, + { + "output": "w020n60.osm.pbf", + "output-format": "pbf", + "bbox": [-20,60,-10,70] + }, + { + "output": "w030n60.osm.pbf", + "output-format": "pbf", + "bbox": [-30,60,-20,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-ne-3-s.json b/osmium-config/osmium-cut-world-step-5-nw-ne-3-s.json new file mode 100644 index 0000000..0244437 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-ne-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010n50.osm.pbf", + "output-format": "pbf", + "bbox": [-10,50,-0,60] + }, + { + "output": "w020n50.osm.pbf", + "output-format": "pbf", + "bbox": [-20,50,-10,60] + }, + { + "output": "w030n50.osm.pbf", + "output-format": "pbf", + "bbox": [-30,50,-20,60] + }, + { + "output": "w010n40.osm.pbf", + "output-format": "pbf", + "bbox": [-10,40,-0,50] + }, + { + "output": "w020n40.osm.pbf", + "output-format": "pbf", + "bbox": [-20,40,-10,50] + }, + { + "output": "w030n40.osm.pbf", + "output-format": "pbf", + "bbox": [-30,40,-20,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-1-n.json b/osmium-config/osmium-cut-world-step-5-nw-nw-1-n.json new file mode 100644 index 0000000..314d623 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160n70.osm.pbf", + "output-format": "pbf", + "bbox": [-160,70,-150,80] + }, + { + "output": "w170n70.osm.pbf", + "output-format": "pbf", + "bbox": [-170,70,-160,80] + }, + { + "output": "w180n70.osm.pbf", + "output-format": "pbf", + "bbox": [-180,70,-170,80] + }, + { + "output": "w160n60.osm.pbf", + "output-format": "pbf", + "bbox": [-160,60,-150,70] + }, + { + "output": "w170n60.osm.pbf", + "output-format": "pbf", + "bbox": [-170,60,-160,70] + }, + { + "output": "w180n60.osm.pbf", + "output-format": "pbf", + "bbox": [-180,60,-170,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-1-s.json b/osmium-config/osmium-cut-world-step-5-nw-nw-1-s.json new file mode 100644 index 0000000..b97232f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160n50.osm.pbf", + "output-format": "pbf", + "bbox": [-160,50,-150,60] + }, + { + "output": "w170n50.osm.pbf", + "output-format": "pbf", + "bbox": [-170,50,-160,60] + }, + { + "output": "w180n50.osm.pbf", + "output-format": "pbf", + "bbox": [-180,50,-170,60] + }, + { + "output": "w160n40.osm.pbf", + "output-format": "pbf", + "bbox": [-160,40,-150,50] + }, + { + "output": "w170n40.osm.pbf", + "output-format": "pbf", + "bbox": [-170,40,-160,50] + }, + { + "output": "w180n40.osm.pbf", + "output-format": "pbf", + "bbox": [-180,40,-170,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-2-n.json b/osmium-config/osmium-cut-world-step-5-nw-nw-2-n.json new file mode 100644 index 0000000..fe0f7ca --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130n70.osm.pbf", + "output-format": "pbf", + "bbox": [-130,70,-120,80] + }, + { + "output": "w140n70.osm.pbf", + "output-format": "pbf", + "bbox": [-140,70,-130,80] + }, + { + "output": "w150n70.osm.pbf", + "output-format": "pbf", + "bbox": [-150,70,-140,80] + }, + { + "output": "w130n60.osm.pbf", + "output-format": "pbf", + "bbox": [-130,60,-120,70] + }, + { + "output": "w140n60.osm.pbf", + "output-format": "pbf", + "bbox": [-140,60,-130,70] + }, + { + "output": "w150n60.osm.pbf", + "output-format": "pbf", + "bbox": [-150,60,-140,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-2-s.json b/osmium-config/osmium-cut-world-step-5-nw-nw-2-s.json new file mode 100644 index 0000000..956d6d8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130n50.osm.pbf", + "output-format": "pbf", + "bbox": [-130,50,-120,60] + }, + { + "output": "w140n50.osm.pbf", + "output-format": "pbf", + "bbox": [-140,50,-130,60] + }, + { + "output": "w150n50.osm.pbf", + "output-format": "pbf", + "bbox": [-150,50,-140,60] + }, + { + "output": "w130n40.osm.pbf", + "output-format": "pbf", + "bbox": [-130,40,-120,50] + }, + { + "output": "w140n40.osm.pbf", + "output-format": "pbf", + "bbox": [-140,40,-130,50] + }, + { + "output": "w150n40.osm.pbf", + "output-format": "pbf", + "bbox": [-150,40,-140,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-3-n.json b/osmium-config/osmium-cut-world-step-5-nw-nw-3-n.json new file mode 100644 index 0000000..afca367 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100n70.osm.pbf", + "output-format": "pbf", + "bbox": [-100,70,-90,80] + }, + { + "output": "w110n70.osm.pbf", + "output-format": "pbf", + "bbox": [-110,70,-100,80] + }, + { + "output": "w120n70.osm.pbf", + "output-format": "pbf", + "bbox": [-120,70,-110,80] + }, + { + "output": "w100n60.osm.pbf", + "output-format": "pbf", + "bbox": [-100,60,-90,70] + }, + { + "output": "w110n60.osm.pbf", + "output-format": "pbf", + "bbox": [-110,60,-100,70] + }, + { + "output": "w120n60.osm.pbf", + "output-format": "pbf", + "bbox": [-120,60,-110,70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-nw-3-s.json b/osmium-config/osmium-cut-world-step-5-nw-nw-3-s.json new file mode 100644 index 0000000..e99706c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-nw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100n50.osm.pbf", + "output-format": "pbf", + "bbox": [-100,50,-90,60] + }, + { + "output": "w110n50.osm.pbf", + "output-format": "pbf", + "bbox": [-110,50,-100,60] + }, + { + "output": "w120n50.osm.pbf", + "output-format": "pbf", + "bbox": [-120,50,-110,60] + }, + { + "output": "w100n40.osm.pbf", + "output-format": "pbf", + "bbox": [-100,40,-90,50] + }, + { + "output": "w110n40.osm.pbf", + "output-format": "pbf", + "bbox": [-110,40,-100,50] + }, + { + "output": "w120n40.osm.pbf", + "output-format": "pbf", + "bbox": [-120,40,-110,50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-1-n.json b/osmium-config/osmium-cut-world-step-5-nw-se-1-n.json new file mode 100644 index 0000000..63b4936 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070n30.osm.pbf", + "output-format": "pbf", + "bbox": [-70,30,-60,40] + }, + { + "output": "w080n30.osm.pbf", + "output-format": "pbf", + "bbox": [-80,30,-70,40] + }, + { + "output": "w090n30.osm.pbf", + "output-format": "pbf", + "bbox": [-90,30,-80,40] + }, + { + "output": "w070n20.osm.pbf", + "output-format": "pbf", + "bbox": [-70,20,-60,30] + }, + { + "output": "w080n20.osm.pbf", + "output-format": "pbf", + "bbox": [-80,20,-70,30] + }, + { + "output": "w090n20.osm.pbf", + "output-format": "pbf", + "bbox": [-90,20,-80,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-1-s.json b/osmium-config/osmium-cut-world-step-5-nw-se-1-s.json new file mode 100644 index 0000000..8d4ccc8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070n10.osm.pbf", + "output-format": "pbf", + "bbox": [-70,10,-60,20] + }, + { + "output": "w080n10.osm.pbf", + "output-format": "pbf", + "bbox": [-80,10,-70,20] + }, + { + "output": "w090n10.osm.pbf", + "output-format": "pbf", + "bbox": [-90,10,-80,20] + }, + { + "output": "w070n00.osm.pbf", + "output-format": "pbf", + "bbox": [-70,0,-60,10] + }, + { + "output": "w080n00.osm.pbf", + "output-format": "pbf", + "bbox": [-80,0,-70,10] + }, + { + "output": "w090n00.osm.pbf", + "output-format": "pbf", + "bbox": [-90,0,-80,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-2-n.json b/osmium-config/osmium-cut-world-step-5-nw-se-2-n.json new file mode 100644 index 0000000..3eed8d1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040n30.osm.pbf", + "output-format": "pbf", + "bbox": [-40,30,-30,40] + }, + { + "output": "w050n30.osm.pbf", + "output-format": "pbf", + "bbox": [-50,30,-40,40] + }, + { + "output": "w060n30.osm.pbf", + "output-format": "pbf", + "bbox": [-60,30,-50,40] + }, + { + "output": "w040n20.osm.pbf", + "output-format": "pbf", + "bbox": [-40,20,-30,30] + }, + { + "output": "w050n20.osm.pbf", + "output-format": "pbf", + "bbox": [-50,20,-40,30] + }, + { + "output": "w060n20.osm.pbf", + "output-format": "pbf", + "bbox": [-60,20,-50,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-2-s.json b/osmium-config/osmium-cut-world-step-5-nw-se-2-s.json new file mode 100644 index 0000000..9aba731 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040n10.osm.pbf", + "output-format": "pbf", + "bbox": [-40,10,-30,20] + }, + { + "output": "w050n10.osm.pbf", + "output-format": "pbf", + "bbox": [-50,10,-40,20] + }, + { + "output": "w060n10.osm.pbf", + "output-format": "pbf", + "bbox": [-60,10,-50,20] + }, + { + "output": "w040n00.osm.pbf", + "output-format": "pbf", + "bbox": [-40,0,-30,10] + }, + { + "output": "w050n00.osm.pbf", + "output-format": "pbf", + "bbox": [-50,0,-40,10] + }, + { + "output": "w060n00.osm.pbf", + "output-format": "pbf", + "bbox": [-60,0,-50,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-3-n.json b/osmium-config/osmium-cut-world-step-5-nw-se-3-n.json new file mode 100644 index 0000000..80d7bf1 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010n30.osm.pbf", + "output-format": "pbf", + "bbox": [-10,30,-0,40] + }, + { + "output": "w020n30.osm.pbf", + "output-format": "pbf", + "bbox": [-20,30,-10,40] + }, + { + "output": "w030n30.osm.pbf", + "output-format": "pbf", + "bbox": [-30,30,-20,40] + }, + { + "output": "w010n20.osm.pbf", + "output-format": "pbf", + "bbox": [-10,20,-0,30] + }, + { + "output": "w020n20.osm.pbf", + "output-format": "pbf", + "bbox": [-20,20,-10,30] + }, + { + "output": "w030n20.osm.pbf", + "output-format": "pbf", + "bbox": [-30,20,-20,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-se-3-s.json b/osmium-config/osmium-cut-world-step-5-nw-se-3-s.json new file mode 100644 index 0000000..7cb5ee3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-se-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010n10.osm.pbf", + "output-format": "pbf", + "bbox": [-10,10,-0,20] + }, + { + "output": "w020n10.osm.pbf", + "output-format": "pbf", + "bbox": [-20,10,-10,20] + }, + { + "output": "w030n10.osm.pbf", + "output-format": "pbf", + "bbox": [-30,10,-20,20] + }, + { + "output": "w010n00.osm.pbf", + "output-format": "pbf", + "bbox": [-10,0,-0,10] + }, + { + "output": "w020n00.osm.pbf", + "output-format": "pbf", + "bbox": [-20,0,-10,10] + }, + { + "output": "w030n00.osm.pbf", + "output-format": "pbf", + "bbox": [-30,0,-20,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-1-n.json b/osmium-config/osmium-cut-world-step-5-nw-sw-1-n.json new file mode 100644 index 0000000..d5f84f7 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160n30.osm.pbf", + "output-format": "pbf", + "bbox": [-160,30,-150,40] + }, + { + "output": "w170n30.osm.pbf", + "output-format": "pbf", + "bbox": [-170,30,-160,40] + }, + { + "output": "w180n30.osm.pbf", + "output-format": "pbf", + "bbox": [-180,30,-170,40] + }, + { + "output": "w160n20.osm.pbf", + "output-format": "pbf", + "bbox": [-160,20,-150,30] + }, + { + "output": "w170n20.osm.pbf", + "output-format": "pbf", + "bbox": [-170,20,-160,30] + }, + { + "output": "w180n20.osm.pbf", + "output-format": "pbf", + "bbox": [-180,20,-170,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-1-s.json b/osmium-config/osmium-cut-world-step-5-nw-sw-1-s.json new file mode 100644 index 0000000..609d035 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160n10.osm.pbf", + "output-format": "pbf", + "bbox": [-160,10,-150,20] + }, + { + "output": "w170n10.osm.pbf", + "output-format": "pbf", + "bbox": [-170,10,-160,20] + }, + { + "output": "w180n10.osm.pbf", + "output-format": "pbf", + "bbox": [-180,10,-170,20] + }, + { + "output": "w160n00.osm.pbf", + "output-format": "pbf", + "bbox": [-160,0,-150,10] + }, + { + "output": "w170n00.osm.pbf", + "output-format": "pbf", + "bbox": [-170,0,-160,10] + }, + { + "output": "w180n00.osm.pbf", + "output-format": "pbf", + "bbox": [-180,0,-170,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-2-n.json b/osmium-config/osmium-cut-world-step-5-nw-sw-2-n.json new file mode 100644 index 0000000..6db01d2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130n30.osm.pbf", + "output-format": "pbf", + "bbox": [-130,30,-120,40] + }, + { + "output": "w140n30.osm.pbf", + "output-format": "pbf", + "bbox": [-140,30,-130,40] + }, + { + "output": "w150n30.osm.pbf", + "output-format": "pbf", + "bbox": [-150,30,-140,40] + }, + { + "output": "w130n20.osm.pbf", + "output-format": "pbf", + "bbox": [-130,20,-120,30] + }, + { + "output": "w140n20.osm.pbf", + "output-format": "pbf", + "bbox": [-140,20,-130,30] + }, + { + "output": "w150n20.osm.pbf", + "output-format": "pbf", + "bbox": [-150,20,-140,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-2-s.json b/osmium-config/osmium-cut-world-step-5-nw-sw-2-s.json new file mode 100644 index 0000000..b935910 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130n10.osm.pbf", + "output-format": "pbf", + "bbox": [-130,10,-120,20] + }, + { + "output": "w140n10.osm.pbf", + "output-format": "pbf", + "bbox": [-140,10,-130,20] + }, + { + "output": "w150n10.osm.pbf", + "output-format": "pbf", + "bbox": [-150,10,-140,20] + }, + { + "output": "w130n00.osm.pbf", + "output-format": "pbf", + "bbox": [-130,0,-120,10] + }, + { + "output": "w140n00.osm.pbf", + "output-format": "pbf", + "bbox": [-140,0,-130,10] + }, + { + "output": "w150n00.osm.pbf", + "output-format": "pbf", + "bbox": [-150,0,-140,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-3-n.json b/osmium-config/osmium-cut-world-step-5-nw-sw-3-n.json new file mode 100644 index 0000000..cf83de2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100n30.osm.pbf", + "output-format": "pbf", + "bbox": [-100,30,-90,40] + }, + { + "output": "w110n30.osm.pbf", + "output-format": "pbf", + "bbox": [-110,30,-100,40] + }, + { + "output": "w120n30.osm.pbf", + "output-format": "pbf", + "bbox": [-120,30,-110,40] + }, + { + "output": "w100n20.osm.pbf", + "output-format": "pbf", + "bbox": [-100,20,-90,30] + }, + { + "output": "w110n20.osm.pbf", + "output-format": "pbf", + "bbox": [-110,20,-100,30] + }, + { + "output": "w120n20.osm.pbf", + "output-format": "pbf", + "bbox": [-120,20,-110,30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-nw-sw-3-s.json b/osmium-config/osmium-cut-world-step-5-nw-sw-3-s.json new file mode 100644 index 0000000..9fd3188 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-nw-sw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100n10.osm.pbf", + "output-format": "pbf", + "bbox": [-100,10,-90,20] + }, + { + "output": "w110n10.osm.pbf", + "output-format": "pbf", + "bbox": [-110,10,-100,20] + }, + { + "output": "w120n10.osm.pbf", + "output-format": "pbf", + "bbox": [-120,10,-110,20] + }, + { + "output": "w100n00.osm.pbf", + "output-format": "pbf", + "bbox": [-100,0,-90,10] + }, + { + "output": "w110n00.osm.pbf", + "output-format": "pbf", + "bbox": [-110,0,-100,10] + }, + { + "output": "w120n00.osm.pbf", + "output-format": "pbf", + "bbox": [-120,0,-110,10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-1-n.json b/osmium-config/osmium-cut-world-step-5-se-ne-1-n.json new file mode 100644 index 0000000..b9200ef --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090s10.osm.pbf", + "output-format": "pbf", + "bbox": [90,-10,100,0] + }, + { + "output": "e100s10.osm.pbf", + "output-format": "pbf", + "bbox": [100,-10,110,0] + }, + { + "output": "e110s10.osm.pbf", + "output-format": "pbf", + "bbox": [110,-10,120,0] + }, + { + "output": "e090s20.osm.pbf", + "output-format": "pbf", + "bbox": [90,-20,100,-10] + }, + { + "output": "e100s20.osm.pbf", + "output-format": "pbf", + "bbox": [100,-20,110,-10] + }, + { + "output": "e110s20.osm.pbf", + "output-format": "pbf", + "bbox": [110,-20,120,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-1-s.json b/osmium-config/osmium-cut-world-step-5-se-ne-1-s.json new file mode 100644 index 0000000..436762f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090s30.osm.pbf", + "output-format": "pbf", + "bbox": [90,-30,100,-20] + }, + { + "output": "e100s30.osm.pbf", + "output-format": "pbf", + "bbox": [100,-30,110,-20] + }, + { + "output": "e110s30.osm.pbf", + "output-format": "pbf", + "bbox": [110,-30,120,-20] + }, + { + "output": "e090s40.osm.pbf", + "output-format": "pbf", + "bbox": [90,-40,100,-30] + }, + { + "output": "e100s40.osm.pbf", + "output-format": "pbf", + "bbox": [100,-40,110,-30] + }, + { + "output": "e110s40.osm.pbf", + "output-format": "pbf", + "bbox": [110,-40,120,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-2-n.json b/osmium-config/osmium-cut-world-step-5-se-ne-2-n.json new file mode 100644 index 0000000..083815a --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120s10.osm.pbf", + "output-format": "pbf", + "bbox": [120,-10,130,0] + }, + { + "output": "e130s10.osm.pbf", + "output-format": "pbf", + "bbox": [130,-10,140,0] + }, + { + "output": "e140s10.osm.pbf", + "output-format": "pbf", + "bbox": [140,-10,150,0] + }, + { + "output": "e120s20.osm.pbf", + "output-format": "pbf", + "bbox": [120,-20,130,-10] + }, + { + "output": "e130s20.osm.pbf", + "output-format": "pbf", + "bbox": [130,-20,140,-10] + }, + { + "output": "e140s20.osm.pbf", + "output-format": "pbf", + "bbox": [140,-20,150,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-2-s.json b/osmium-config/osmium-cut-world-step-5-se-ne-2-s.json new file mode 100644 index 0000000..17b7c82 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120s30.osm.pbf", + "output-format": "pbf", + "bbox": [120,-30,130,-20] + }, + { + "output": "e130s30.osm.pbf", + "output-format": "pbf", + "bbox": [130,-30,140,-20] + }, + { + "output": "e140s30.osm.pbf", + "output-format": "pbf", + "bbox": [140,-30,150,-20] + }, + { + "output": "e120s40.osm.pbf", + "output-format": "pbf", + "bbox": [120,-40,130,-30] + }, + { + "output": "e130s40.osm.pbf", + "output-format": "pbf", + "bbox": [130,-40,140,-30] + }, + { + "output": "e140s40.osm.pbf", + "output-format": "pbf", + "bbox": [140,-40,150,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-3-n.json b/osmium-config/osmium-cut-world-step-5-se-ne-3-n.json new file mode 100644 index 0000000..ca588f8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150s10.osm.pbf", + "output-format": "pbf", + "bbox": [150,-10,160,0] + }, + { + "output": "e160s10.osm.pbf", + "output-format": "pbf", + "bbox": [160,-10,170,0] + }, + { + "output": "e170s10.osm.pbf", + "output-format": "pbf", + "bbox": [170,-10,180,0] + }, + { + "output": "e150s20.osm.pbf", + "output-format": "pbf", + "bbox": [150,-20,160,-10] + }, + { + "output": "e160s20.osm.pbf", + "output-format": "pbf", + "bbox": [160,-20,170,-10] + }, + { + "output": "e170s20.osm.pbf", + "output-format": "pbf", + "bbox": [170,-20,180,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-ne-3-s.json b/osmium-config/osmium-cut-world-step-5-se-ne-3-s.json new file mode 100644 index 0000000..ee43cf0 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-ne-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150s30.osm.pbf", + "output-format": "pbf", + "bbox": [150,-30,160,-20] + }, + { + "output": "e160s30.osm.pbf", + "output-format": "pbf", + "bbox": [160,-30,170,-20] + }, + { + "output": "e170s30.osm.pbf", + "output-format": "pbf", + "bbox": [170,-30,180,-20] + }, + { + "output": "e150s40.osm.pbf", + "output-format": "pbf", + "bbox": [150,-40,160,-30] + }, + { + "output": "e160s40.osm.pbf", + "output-format": "pbf", + "bbox": [160,-40,170,-30] + }, + { + "output": "e170s40.osm.pbf", + "output-format": "pbf", + "bbox": [170,-40,180,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-1-n.json b/osmium-config/osmium-cut-world-step-5-se-nw-1-n.json new file mode 100644 index 0000000..ce79b9e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000s10.osm.pbf", + "output-format": "pbf", + "bbox": [0,-10,10,0] + }, + { + "output": "e010s10.osm.pbf", + "output-format": "pbf", + "bbox": [10,-10,20,0] + }, + { + "output": "e020s10.osm.pbf", + "output-format": "pbf", + "bbox": [20,-10,30,0] + }, + { + "output": "e000s20.osm.pbf", + "output-format": "pbf", + "bbox": [0,-20,10,-10] + }, + { + "output": "e010s20.osm.pbf", + "output-format": "pbf", + "bbox": [10,-20,20,-10] + }, + { + "output": "e020s20.osm.pbf", + "output-format": "pbf", + "bbox": [20,-20,30,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-1-s.json b/osmium-config/osmium-cut-world-step-5-se-nw-1-s.json new file mode 100644 index 0000000..2e407f3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000s30.osm.pbf", + "output-format": "pbf", + "bbox": [0,-30,10,-20] + }, + { + "output": "e010s30.osm.pbf", + "output-format": "pbf", + "bbox": [10,-30,20,-20] + }, + { + "output": "e020s30.osm.pbf", + "output-format": "pbf", + "bbox": [20,-30,30,-20] + }, + { + "output": "e000s40.osm.pbf", + "output-format": "pbf", + "bbox": [0,-40,10,-30] + }, + { + "output": "e010s40.osm.pbf", + "output-format": "pbf", + "bbox": [10,-40,20,-30] + }, + { + "output": "e020s40.osm.pbf", + "output-format": "pbf", + "bbox": [20,-40,30,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-2-n.json b/osmium-config/osmium-cut-world-step-5-se-nw-2-n.json new file mode 100644 index 0000000..b8d2b8a --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030s10.osm.pbf", + "output-format": "pbf", + "bbox": [30,-10,40,0] + }, + { + "output": "e040s10.osm.pbf", + "output-format": "pbf", + "bbox": [40,-10,50,0] + }, + { + "output": "e050s10.osm.pbf", + "output-format": "pbf", + "bbox": [50,-10,60,0] + }, + { + "output": "e030s20.osm.pbf", + "output-format": "pbf", + "bbox": [30,-20,40,-10] + }, + { + "output": "e040s20.osm.pbf", + "output-format": "pbf", + "bbox": [40,-20,50,-10] + }, + { + "output": "e050s20.osm.pbf", + "output-format": "pbf", + "bbox": [50,-20,60,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-2-s.json b/osmium-config/osmium-cut-world-step-5-se-nw-2-s.json new file mode 100644 index 0000000..1c38e63 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030s30.osm.pbf", + "output-format": "pbf", + "bbox": [30,-30,40,-20] + }, + { + "output": "e040s30.osm.pbf", + "output-format": "pbf", + "bbox": [40,-30,50,-20] + }, + { + "output": "e050s30.osm.pbf", + "output-format": "pbf", + "bbox": [50,-30,60,-20] + }, + { + "output": "e030s40.osm.pbf", + "output-format": "pbf", + "bbox": [30,-40,40,-30] + }, + { + "output": "e040s40.osm.pbf", + "output-format": "pbf", + "bbox": [40,-40,50,-30] + }, + { + "output": "e050s40.osm.pbf", + "output-format": "pbf", + "bbox": [50,-40,60,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-3-n.json b/osmium-config/osmium-cut-world-step-5-se-nw-3-n.json new file mode 100644 index 0000000..b5fc36e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060s10.osm.pbf", + "output-format": "pbf", + "bbox": [60,-10,70,0] + }, + { + "output": "e070s10.osm.pbf", + "output-format": "pbf", + "bbox": [70,-10,80,0] + }, + { + "output": "e080s10.osm.pbf", + "output-format": "pbf", + "bbox": [80,-10,90,0] + }, + { + "output": "e060s20.osm.pbf", + "output-format": "pbf", + "bbox": [60,-20,70,-10] + }, + { + "output": "e070s20.osm.pbf", + "output-format": "pbf", + "bbox": [70,-20,80,-10] + }, + { + "output": "e080s20.osm.pbf", + "output-format": "pbf", + "bbox": [80,-20,90,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-nw-3-s.json b/osmium-config/osmium-cut-world-step-5-se-nw-3-s.json new file mode 100644 index 0000000..16b7156 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-nw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060s30.osm.pbf", + "output-format": "pbf", + "bbox": [60,-30,70,-20] + }, + { + "output": "e070s30.osm.pbf", + "output-format": "pbf", + "bbox": [70,-30,80,-20] + }, + { + "output": "e080s30.osm.pbf", + "output-format": "pbf", + "bbox": [80,-30,90,-20] + }, + { + "output": "e060s40.osm.pbf", + "output-format": "pbf", + "bbox": [60,-40,70,-30] + }, + { + "output": "e070s40.osm.pbf", + "output-format": "pbf", + "bbox": [70,-40,80,-30] + }, + { + "output": "e080s40.osm.pbf", + "output-format": "pbf", + "bbox": [80,-40,90,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-1-n.json b/osmium-config/osmium-cut-world-step-5-se-se-1-n.json new file mode 100644 index 0000000..11c42cb --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090s50.osm.pbf", + "output-format": "pbf", + "bbox": [90,-50,100,-40] + }, + { + "output": "e100s50.osm.pbf", + "output-format": "pbf", + "bbox": [100,-50,110,-40] + }, + { + "output": "e110s50.osm.pbf", + "output-format": "pbf", + "bbox": [110,-50,120,-40] + }, + { + "output": "e090s60.osm.pbf", + "output-format": "pbf", + "bbox": [90,-60,100,-50] + }, + { + "output": "e100s60.osm.pbf", + "output-format": "pbf", + "bbox": [100,-60,110,-50] + }, + { + "output": "e110s60.osm.pbf", + "output-format": "pbf", + "bbox": [110,-60,120,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-1-s.json b/osmium-config/osmium-cut-world-step-5-se-se-1-s.json new file mode 100644 index 0000000..b98384d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e090s70.osm.pbf", + "output-format": "pbf", + "bbox": [90,-70,100,-60] + }, + { + "output": "e100s70.osm.pbf", + "output-format": "pbf", + "bbox": [100,-70,110,-60] + }, + { + "output": "e110s70.osm.pbf", + "output-format": "pbf", + "bbox": [110,-70,120,-60] + }, + { + "output": "e090s80.osm.pbf", + "output-format": "pbf", + "bbox": [90,-80,100,-70] + }, + { + "output": "e100s80.osm.pbf", + "output-format": "pbf", + "bbox": [100,-80,110,-70] + }, + { + "output": "e110s80.osm.pbf", + "output-format": "pbf", + "bbox": [110,-80,120,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-2-n.json b/osmium-config/osmium-cut-world-step-5-se-se-2-n.json new file mode 100644 index 0000000..544a04e --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120s50.osm.pbf", + "output-format": "pbf", + "bbox": [120,-50,130,-40] + }, + { + "output": "e130s50.osm.pbf", + "output-format": "pbf", + "bbox": [130,-50,140,-40] + }, + { + "output": "e140s50.osm.pbf", + "output-format": "pbf", + "bbox": [140,-50,150,-40] + }, + { + "output": "e120s60.osm.pbf", + "output-format": "pbf", + "bbox": [120,-60,130,-50] + }, + { + "output": "e130s60.osm.pbf", + "output-format": "pbf", + "bbox": [130,-60,140,-50] + }, + { + "output": "e140s60.osm.pbf", + "output-format": "pbf", + "bbox": [140,-60,150,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-2-s.json b/osmium-config/osmium-cut-world-step-5-se-se-2-s.json new file mode 100644 index 0000000..ebca9e8 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e120s70.osm.pbf", + "output-format": "pbf", + "bbox": [120,-70,130,-60] + }, + { + "output": "e130s70.osm.pbf", + "output-format": "pbf", + "bbox": [130,-70,140,-60] + }, + { + "output": "e140s70.osm.pbf", + "output-format": "pbf", + "bbox": [140,-70,150,-60] + }, + { + "output": "e120s80.osm.pbf", + "output-format": "pbf", + "bbox": [120,-80,130,-70] + }, + { + "output": "e130s80.osm.pbf", + "output-format": "pbf", + "bbox": [130,-80,140,-70] + }, + { + "output": "e140s80.osm.pbf", + "output-format": "pbf", + "bbox": [140,-80,150,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-3-n.json b/osmium-config/osmium-cut-world-step-5-se-se-3-n.json new file mode 100644 index 0000000..29b5e1d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150s50.osm.pbf", + "output-format": "pbf", + "bbox": [150,-50,160,-40] + }, + { + "output": "e160s50.osm.pbf", + "output-format": "pbf", + "bbox": [160,-50,170,-40] + }, + { + "output": "e170s50.osm.pbf", + "output-format": "pbf", + "bbox": [170,-50,180,-40] + }, + { + "output": "e150s60.osm.pbf", + "output-format": "pbf", + "bbox": [150,-60,160,-50] + }, + { + "output": "e160s60.osm.pbf", + "output-format": "pbf", + "bbox": [160,-60,170,-50] + }, + { + "output": "e170s60.osm.pbf", + "output-format": "pbf", + "bbox": [170,-60,180,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-se-3-s.json b/osmium-config/osmium-cut-world-step-5-se-se-3-s.json new file mode 100644 index 0000000..43cfd72 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-se-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e150s70.osm.pbf", + "output-format": "pbf", + "bbox": [150,-70,160,-60] + }, + { + "output": "e160s70.osm.pbf", + "output-format": "pbf", + "bbox": [160,-70,170,-60] + }, + { + "output": "e170s70.osm.pbf", + "output-format": "pbf", + "bbox": [170,-70,180,-60] + }, + { + "output": "e150s80.osm.pbf", + "output-format": "pbf", + "bbox": [150,-80,160,-70] + }, + { + "output": "e160s80.osm.pbf", + "output-format": "pbf", + "bbox": [160,-80,170,-70] + }, + { + "output": "e170s80.osm.pbf", + "output-format": "pbf", + "bbox": [170,-80,180,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-1-n.json b/osmium-config/osmium-cut-world-step-5-se-sw-1-n.json new file mode 100644 index 0000000..305c1e0 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000s50.osm.pbf", + "output-format": "pbf", + "bbox": [0,-50,10,-40] + }, + { + "output": "e010s50.osm.pbf", + "output-format": "pbf", + "bbox": [10,-50,20,-40] + }, + { + "output": "e020s50.osm.pbf", + "output-format": "pbf", + "bbox": [20,-50,30,-40] + }, + { + "output": "e000s60.osm.pbf", + "output-format": "pbf", + "bbox": [0,-60,10,-50] + }, + { + "output": "e010s60.osm.pbf", + "output-format": "pbf", + "bbox": [10,-60,20,-50] + }, + { + "output": "e020s60.osm.pbf", + "output-format": "pbf", + "bbox": [20,-60,30,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-1-s.json b/osmium-config/osmium-cut-world-step-5-se-sw-1-s.json new file mode 100644 index 0000000..ea7517d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e000s70.osm.pbf", + "output-format": "pbf", + "bbox": [0,-70,10,-60] + }, + { + "output": "e010s70.osm.pbf", + "output-format": "pbf", + "bbox": [10,-70,20,-60] + }, + { + "output": "e020s70.osm.pbf", + "output-format": "pbf", + "bbox": [20,-70,30,-60] + }, + { + "output": "e000s80.osm.pbf", + "output-format": "pbf", + "bbox": [0,-80,10,-70] + }, + { + "output": "e010s80.osm.pbf", + "output-format": "pbf", + "bbox": [10,-80,20,-70] + }, + { + "output": "e020s80.osm.pbf", + "output-format": "pbf", + "bbox": [20,-80,30,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-2-n.json b/osmium-config/osmium-cut-world-step-5-se-sw-2-n.json new file mode 100644 index 0000000..8572aba --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030s50.osm.pbf", + "output-format": "pbf", + "bbox": [30,-50,40,-40] + }, + { + "output": "e040s50.osm.pbf", + "output-format": "pbf", + "bbox": [40,-50,50,-40] + }, + { + "output": "e050s50.osm.pbf", + "output-format": "pbf", + "bbox": [50,-50,60,-40] + }, + { + "output": "e030s60.osm.pbf", + "output-format": "pbf", + "bbox": [30,-60,40,-50] + }, + { + "output": "e040s60.osm.pbf", + "output-format": "pbf", + "bbox": [40,-60,50,-50] + }, + { + "output": "e050s60.osm.pbf", + "output-format": "pbf", + "bbox": [50,-60,60,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-2-s.json b/osmium-config/osmium-cut-world-step-5-se-sw-2-s.json new file mode 100644 index 0000000..ced2969 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e030s70.osm.pbf", + "output-format": "pbf", + "bbox": [30,-70,40,-60] + }, + { + "output": "e040s70.osm.pbf", + "output-format": "pbf", + "bbox": [40,-70,50,-60] + }, + { + "output": "e050s70.osm.pbf", + "output-format": "pbf", + "bbox": [50,-70,60,-60] + }, + { + "output": "e030s80.osm.pbf", + "output-format": "pbf", + "bbox": [30,-80,40,-70] + }, + { + "output": "e040s80.osm.pbf", + "output-format": "pbf", + "bbox": [40,-80,50,-70] + }, + { + "output": "e050s80.osm.pbf", + "output-format": "pbf", + "bbox": [50,-80,60,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-3-n.json b/osmium-config/osmium-cut-world-step-5-se-sw-3-n.json new file mode 100644 index 0000000..cc35028 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060s70.osm.pbf", + "output-format": "pbf", + "bbox": [60,-70,70,-60] + }, + { + "output": "e070s70.osm.pbf", + "output-format": "pbf", + "bbox": [70,-70,80,-60] + }, + { + "output": "e080s70.osm.pbf", + "output-format": "pbf", + "bbox": [80,-70,90,-60] + }, + { + "output": "e060s80.osm.pbf", + "output-format": "pbf", + "bbox": [60,-80,70,-70] + }, + { + "output": "e070s80.osm.pbf", + "output-format": "pbf", + "bbox": [70,-80,80,-70] + }, + { + "output": "e080s80.osm.pbf", + "output-format": "pbf", + "bbox": [80,-80,90,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-se-sw-3-s.json b/osmium-config/osmium-cut-world-step-5-se-sw-3-s.json new file mode 100644 index 0000000..b3190fc --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-se-sw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "e060s50.osm.pbf", + "output-format": "pbf", + "bbox": [60,-50,70,-40] + }, + { + "output": "e070s50.osm.pbf", + "output-format": "pbf", + "bbox": [70,-50,80,-40] + }, + { + "output": "e080s50.osm.pbf", + "output-format": "pbf", + "bbox": [80,-50,90,-40] + }, + { + "output": "e060s60.osm.pbf", + "output-format": "pbf", + "bbox": [60,-60,70,-50] + }, + { + "output": "e070s60.osm.pbf", + "output-format": "pbf", + "bbox": [70,-60,80,-50] + }, + { + "output": "e080s60.osm.pbf", + "output-format": "pbf", + "bbox": [80,-60,90,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-1-n.json b/osmium-config/osmium-cut-world-step-5-sw-ne-1-n.json new file mode 100644 index 0000000..91e7542 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070s10.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-10,-60,0] + }, + { + "output": "w080s10.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-10,-70,0] + }, + { + "output": "w090s10.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-10,-80,0] + }, + { + "output": "w070s20.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-20,-60,-10] + }, + { + "output": "w080s20.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-20,-70,-10] + }, + { + "output": "w090s20.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-20,-80,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-1-s.json b/osmium-config/osmium-cut-world-step-5-sw-ne-1-s.json new file mode 100644 index 0000000..c54b6c3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070s30.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-30,-60,-20] + }, + { + "output": "w080s30.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-30,-70,-20] + }, + { + "output": "w090s30.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-30,-80,-20] + }, + { + "output": "w070s40.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-40,-60,-30] + }, + { + "output": "w080s40.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-40,-70,-30] + }, + { + "output": "w090s40.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-40,-80,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-2-n.json b/osmium-config/osmium-cut-world-step-5-sw-ne-2-n.json new file mode 100644 index 0000000..af9628d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040s10.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-10,-30,0] + }, + { + "output": "w050s10.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-10,-40,0] + }, + { + "output": "w060s10.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-10,-50,0] + }, + { + "output": "w040s20.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-20,-30,-10] + }, + { + "output": "w050s20.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-20,-40,-10] + }, + { + "output": "w060s20.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-20,-50,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-2-s.json b/osmium-config/osmium-cut-world-step-5-sw-ne-2-s.json new file mode 100644 index 0000000..03114e3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040s30.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-30,-30,-20] + }, + { + "output": "w050s30.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-30,-40,-20] + }, + { + "output": "w060s30.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-30,-50,-20] + }, + { + "output": "w040s40.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-40,-30,-30] + }, + { + "output": "w050s40.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-40,-40,-30] + }, + { + "output": "w060s40.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-40,-50,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-3-n.json b/osmium-config/osmium-cut-world-step-5-sw-ne-3-n.json new file mode 100644 index 0000000..aebc109 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010s10.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-10,-0,0] + }, + { + "output": "w020s10.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-10,-10,0] + }, + { + "output": "w030s10.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-10,-20,0] + }, + { + "output": "w010s20.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-20,-0,-10] + }, + { + "output": "w020s20.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-20,-10,-10] + }, + { + "output": "w030s20.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-20,-20,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-ne-3-s.json b/osmium-config/osmium-cut-world-step-5-sw-ne-3-s.json new file mode 100644 index 0000000..40472a3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-ne-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010s30.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-30,-0,-20] + }, + { + "output": "w020s30.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-30,-10,-20] + }, + { + "output": "w030s30.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-30,-20,-20] + }, + { + "output": "w010s40.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-40,-0,-30] + }, + { + "output": "w020s40.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-40,-10,-30] + }, + { + "output": "w030s40.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-40,-20,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-1-n.json b/osmium-config/osmium-cut-world-step-5-sw-nw-1-n.json new file mode 100644 index 0000000..e3540ca --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160s10.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-10,-150,0] + }, + { + "output": "w170s10.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-10,-160,0] + }, + { + "output": "w180s10.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-10,-170,0] + }, + { + "output": "w160s20.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-20,-150,-10] + }, + { + "output": "w170s20.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-20,-160,-10] + }, + { + "output": "w180s20.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-20,-170,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-1-s.json b/osmium-config/osmium-cut-world-step-5-sw-nw-1-s.json new file mode 100644 index 0000000..3753eb2 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160s30.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-30,-150,-20] + }, + { + "output": "w170s30.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-30,-160,-20] + }, + { + "output": "w180s30.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-30,-170,-20] + }, + { + "output": "w160s40.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-40,-150,-30] + }, + { + "output": "w170s40.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-40,-160,-30] + }, + { + "output": "w180s40.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-40,-170,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-2-n.json b/osmium-config/osmium-cut-world-step-5-sw-nw-2-n.json new file mode 100644 index 0000000..d7184d9 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130s10.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-10,-120,0] + }, + { + "output": "w140s10.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-10,-130,0] + }, + { + "output": "w150s10.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-10,-140,0] + }, + { + "output": "w130s20.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-20,-120,-10] + }, + { + "output": "w140s20.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-20,-130,-10] + }, + { + "output": "w150s20.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-20,-140,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-2-s.json b/osmium-config/osmium-cut-world-step-5-sw-nw-2-s.json new file mode 100644 index 0000000..9929122 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130s30.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-30,-120,-20] + }, + { + "output": "w140s30.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-30,-130,-20] + }, + { + "output": "w150s30.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-30,-140,-20] + }, + { + "output": "w130s40.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-40,-120,-30] + }, + { + "output": "w140s40.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-40,-130,-30] + }, + { + "output": "w150s40.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-40,-140,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-3-n.json b/osmium-config/osmium-cut-world-step-5-sw-nw-3-n.json new file mode 100644 index 0000000..3d64d87 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100s10.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-10,-90,0] + }, + { + "output": "w110s10.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-10,-100,0] + }, + { + "output": "w120s10.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-10,-110,0] + }, + { + "output": "w100s20.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-20,-90,-10] + }, + { + "output": "w110s20.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-20,-100,-10] + }, + { + "output": "w120s20.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-20,-110,-10] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-nw-3-s.json b/osmium-config/osmium-cut-world-step-5-sw-nw-3-s.json new file mode 100644 index 0000000..6e69662 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-nw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100s30.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-30,-90,-20] + }, + { + "output": "w110s30.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-30,-100,-20] + }, + { + "output": "w120s30.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-30,-110,-20] + }, + { + "output": "w100s40.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-40,-90,-30] + }, + { + "output": "w110s40.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-40,-100,-30] + }, + { + "output": "w120s40.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-40,-110,-30] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-1-n.json b/osmium-config/osmium-cut-world-step-5-sw-se-1-n.json new file mode 100644 index 0000000..f33cde3 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070s50.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-50,-60,-40] + }, + { + "output": "w080s50.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-50,-70,-40] + }, + { + "output": "w090s50.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-50,-80,-40] + }, + { + "output": "w070s60.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-60,-60,-50] + }, + { + "output": "w080s60.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-60,-70,-50] + }, + { + "output": "w090s60.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-60,-80,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-1-s.json b/osmium-config/osmium-cut-world-step-5-sw-se-1-s.json new file mode 100644 index 0000000..61b6c12 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w070s70.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-70,-60,-60] + }, + { + "output": "w080s70.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-70,-70,-60] + }, + { + "output": "w090s70.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-70,-80,-60] + }, + { + "output": "w070s80.osm.pbf", + "output-format": "pbf", + "bbox": [-70,-80,-60,-70] + }, + { + "output": "w080s80.osm.pbf", + "output-format": "pbf", + "bbox": [-80,-80,-70,-70] + }, + { + "output": "w090s80.osm.pbf", + "output-format": "pbf", + "bbox": [-90,-80,-80,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-2-n.json b/osmium-config/osmium-cut-world-step-5-sw-se-2-n.json new file mode 100644 index 0000000..f8aecf5 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040s50.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-50,-30,-40] + }, + { + "output": "w050s50.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-50,-40,-40] + }, + { + "output": "w060s50.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-50,-50,-40] + }, + { + "output": "w040s60.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-60,-30,-50] + }, + { + "output": "w050s60.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-60,-40,-50] + }, + { + "output": "w060s60.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-60,-50,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-2-s.json b/osmium-config/osmium-cut-world-step-5-sw-se-2-s.json new file mode 100644 index 0000000..e5bc080 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w040s70.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-70,-30,-60] + }, + { + "output": "w050s70.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-70,-40,-60] + }, + { + "output": "w060s70.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-70,-50,-60] + }, + { + "output": "w040s80.osm.pbf", + "output-format": "pbf", + "bbox": [-40,-80,-30,-70] + }, + { + "output": "w050s80.osm.pbf", + "output-format": "pbf", + "bbox": [-50,-80,-40,-70] + }, + { + "output": "w060s80.osm.pbf", + "output-format": "pbf", + "bbox": [-60,-80,-50,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-3-n.json b/osmium-config/osmium-cut-world-step-5-sw-se-3-n.json new file mode 100644 index 0000000..51c042c --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010s50.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-50,-0,-40] + }, + { + "output": "w020s50.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-50,-10,-40] + }, + { + "output": "w030s50.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-50,-20,-40] + }, + { + "output": "w010s60.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-60,-0,-50] + }, + { + "output": "w020s60.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-60,-10,-50] + }, + { + "output": "w030s60.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-60,-20,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-se-3-s.json b/osmium-config/osmium-cut-world-step-5-sw-se-3-s.json new file mode 100644 index 0000000..d81356f --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-se-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w010s70.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-70,-0,-60] + }, + { + "output": "w020s70.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-70,-10,-60] + }, + { + "output": "w030s70.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-70,-20,-60] + }, + { + "output": "w010s80.osm.pbf", + "output-format": "pbf", + "bbox": [-10,-80,-0,-70] + }, + { + "output": "w020s80.osm.pbf", + "output-format": "pbf", + "bbox": [-20,-80,-10,-70] + }, + { + "output": "w030s80.osm.pbf", + "output-format": "pbf", + "bbox": [-30,-80,-20,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-1-n.json b/osmium-config/osmium-cut-world-step-5-sw-sw-1-n.json new file mode 100644 index 0000000..4bebd32 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-1-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160s50.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-50,-150,-40] + }, + { + "output": "w170s50.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-50,-160,-40] + }, + { + "output": "w180s50.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-50,-170,-40] + }, + { + "output": "w160s60.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-60,-150,-50] + }, + { + "output": "w170s60.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-60,-160,-50] + }, + { + "output": "w180s60.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-60,-170,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-1-s.json b/osmium-config/osmium-cut-world-step-5-sw-sw-1-s.json new file mode 100644 index 0000000..e79d2b6 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-1-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w160s70.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-70,-150,-60] + }, + { + "output": "w170s70.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-70,-160,-60] + }, + { + "output": "w180s70.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-70,-170,-60] + }, + { + "output": "w160s80.osm.pbf", + "output-format": "pbf", + "bbox": [-160,-80,-150,-70] + }, + { + "output": "w170s80.osm.pbf", + "output-format": "pbf", + "bbox": [-170,-80,-160,-70] + }, + { + "output": "w180s80.osm.pbf", + "output-format": "pbf", + "bbox": [-180,-80,-170,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-2-n.json b/osmium-config/osmium-cut-world-step-5-sw-sw-2-n.json new file mode 100644 index 0000000..c8ae83d --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-2-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130s50.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-50,-120,-40] + }, + { + "output": "w140s50.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-50,-130,-40] + }, + { + "output": "w150s50.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-50,-140,-40] + }, + { + "output": "w130s60.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-60,-120,-50] + }, + { + "output": "w140s60.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-60,-130,-50] + }, + { + "output": "w150s60.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-60,-140,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-2-s.json b/osmium-config/osmium-cut-world-step-5-sw-sw-2-s.json new file mode 100644 index 0000000..dec1505 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-2-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w130s70.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-70,-120,-60] + }, + { + "output": "w140s70.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-70,-130,-60] + }, + { + "output": "w150s70.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-70,-140,-60] + }, + { + "output": "w130s80.osm.pbf", + "output-format": "pbf", + "bbox": [-130,-80,-120,-70] + }, + { + "output": "w140s80.osm.pbf", + "output-format": "pbf", + "bbox": [-140,-80,-130,-70] + }, + { + "output": "w150s80.osm.pbf", + "output-format": "pbf", + "bbox": [-150,-80,-140,-70] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-3-n.json b/osmium-config/osmium-cut-world-step-5-sw-sw-3-n.json new file mode 100644 index 0000000..f1012e5 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-3-n.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100s50.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-50,-90,-40] + }, + { + "output": "w110s50.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-50,-100,-40] + }, + { + "output": "w120s50.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-50,-110,-40] + }, + { + "output": "w100s60.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-60,-90,-50] + }, + { + "output": "w110s60.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-60,-100,-50] + }, + { + "output": "w120s60.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-60,-110,-50] + }, + ], + "directory": "./output" +} diff --git a/osmium-config/osmium-cut-world-step-5-sw-sw-3-s.json b/osmium-config/osmium-cut-world-step-5-sw-sw-3-s.json new file mode 100644 index 0000000..0492e29 --- /dev/null +++ b/osmium-config/osmium-cut-world-step-5-sw-sw-3-s.json @@ -0,0 +1,36 @@ +{ + "extracts": + [ + { + "output": "w100s70.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-70,-90,-60] + }, + { + "output": "w110s70.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-70,-100,-60] + }, + { + "output": "w120s70.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-70,-110,-60] + }, + { + "output": "w100s80.osm.pbf", + "output-format": "pbf", + "bbox": [-100,-80,-90,-70] + }, + { + "output": "w110s80.osm.pbf", + "output-format": "pbf", + "bbox": [-110,-80,-100,-70] + }, + { + "output": "w120s80.osm.pbf", + "output-format": "pbf", + "bbox": [-120,-80,-110,-70] + }, + ], + "directory": "./output" +} diff --git a/split-world.py b/split-world.py new file mode 100755 index 0000000..880a961 --- /dev/null +++ b/split-world.py @@ -0,0 +1,32 @@ +#! /usr/bin/python +import os +import sys + +config_path = os.path.dirname(os.path.realpath(__file__)) + "/osmium-config/" +prefix = "osmium-cut-world-step-" +world_file = sys.argv[1] +state4 = ['nw', 'ne', 'sw', 'se'] +state2 = ['s', 'n'] + +def run_cut(path, step, name, start_file=None): + if start_file != None: + print("Splitting world in 4...") + ret = os.system("osmium extract -c " + path + name + ".json " + start_file + " --overwrite") + if ret == 0: + os.system("mv n-pole.osm.pbf output/") + os.system("mv s-pole.osm.pbf output/") + else: + print("Building: " + name + "...") + os.system("osmium extract -c " + path + str(step) + "-" + name + ".json " + name + ".osm.pbf --overwrite") + os.system("rm " + name + ".osm.pbf") + +con_pre = config_path + prefix +run_cut(con_pre, 1, "1", world_file) +for i in range(0, len(state4)): + run_cut(con_pre, 2, state4[i]) + for j in range(0, len(state4)): + run_cut(con_pre, 3, state4[i] + "-" + state4[j]) + for k in range(1, 4): + run_cut(con_pre, 4, state4[i] + "-" + state4[j] + "-" + str(k)) + for l in range(0, len(state2)): + run_cut(con_pre, 5, state4[i] + "-" + state4[j] + "-" + str(k) + "-" + state2[l]) diff --git a/worldbuild-manager.py b/worldbuild-manager.py new file mode 100755 index 0000000..6ddcb16 --- /dev/null +++ b/worldbuild-manager.py @@ -0,0 +1,231 @@ +#! /usr/bin/python3 +# Copyright (C) 2018-2019 Merspieler, merspieler _at_ airmail.cc +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +import socket +import sys +import json +import os +import re + +host = socket.gethostname() +port = 12345 +verbose = False +sfile = "projects/worldbuild/status" + +argc = len(sys.argv) +i = 1 +while i < argc: + if sys.argv[i] == "--port": + i += 1 + port = int(sys.argv[i]) + elif sys.argv[i] == "--host": + i += 1 + host = sys.argv[i] + elif sys.argv[i] == "-v": + verbose = True + elif sys.argv[i] == "-f" or sys.argv[i] == "--file": + i += 1 + sfile = sys.argv[i] + elif sys.argv[i] == "-h" or sys.argv[i] == "--help": + print("usage: wb-progress-logger.py [OPTIONS]") + print("Logs progress of the worldbuild when run") + print("with database strategies 'chunk' and 'mono'") + print("") + print("OPTIONS") + print(" -f, --file Status file to use") + print(" -v, --verbose Verbose printouts") + print(" , --host hostname or interface to bind to") + print(" , --port Port to bind to") + print(" -h, --help Shows this help and exit") + else: + print("Unknown option " + sys.argv[i]) + sys.exit(1) + i += 1 + +def norm(num, length): + num = str(num) + while len(num) < length: + num = "0" + num + return num + +def save_state(state) + try: + with open(sfile, 'w') as f: + json.dump(state, f, indent=4) + except IOError: + print("WARNING: Failed to write to file") + +if os.path.isfile(sfile): + try: + with open(sfile) as json_data: + state = json.load(json_data) + except ValueError: + print("ERROR: Invalid status file") + sys.exit(1) +else: + state = {} + +sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) +sock.bind((host, port)) + +sock.listen(5) +print("Up and running...") +try: + while True: + try: + c, addr = sock.accept() + msg = c.recv(128) + msg = msg.decode() + + match = re.match(r"(set) (n-pole|s-pole|[ew]\d{3}[ns]\d{2}) (done|started|rebuild|skip)", msg) + if match != None: + action = "set" + name = match.group(2) + status = match.group(3) + else: + match = re.match(r"(get) (started|rebuild|skip|pending)", msg) + if match != None: + action = "get" + get = match.group(2) + else: + print("WARNING: Recived invalid package") + + if action == "set": + if verbose: + print(name + " set status to " + status) + + if status == "started" or status == "done" or status == "rebuild" or status == "skip": + if name == "n-pole" or name == "s-pole": + if not name in state: + state[name] = {} + state[name]["status"] = status + else: + match = re.match(r"([ew])(\d{3})([ns])(\d{2})", name) + if match == None: + print("WARNING: Recived status " + status + " from invalid tile '" + name + "'") + else: + ew = match.group(1) + ew_val = int(match.group(2)) + ns = match.group(3) + ns_val = int(match.group(4)) + + ew_val_major = int(ew_val / 10) * 10 + if ew == "w": + if ew_val_major != ew_val: + ew_val_major += 10 + + ns_val_major = int(ns_val / 10) * 10 + if ns == "s": + if ns_val_major != ns_val: + ns_val_major += 10 + + name_major = ew + norm(ew_val_major, 3) + ns + norm(ns_val_major, 2) + if not name_major in state: + state[name_major] = {} + if not name in state[name_major]: + state[name_major][name] = {} + state[name_major][name]["status"] = status + state[name_major]["done"] = 0 + state[name_major]["started"] = 0 + state[name_major]["rebuild"] = 0 + state[name_major]["skip"] = 0 + for tile in state[name_major]: + # Filter status of name_major + if tile != "done" and tile != "started" and tile != "pending" and tile != "status" and tile != "rebuild" and tile != "skip": + state[name_major][state[name_major][tile]["status"]] += 1 + if state[name_major]["done"] == 100: + state[name_major]["status"] = "done" + elif state[name_major]["started"] > 0: + state[name_major]["status"] = "started" + elif state[name_major]["rebuild"] > 0: + state[name_major]["status"] = "rebuild" + elif state[name_major]["skip"] > 0: + state[name_major]["status"] = "skip" + else: + state[name_major]["status"] = "pending" + + save_state(state) + else: + print("WARNING: Invalid status '" + status + "' recived from " + name) + + elif action == "get": + tile = "" + # Build poles first + if not "n-pole" in status or ("n-pole" in status and status["n-pole"]["status"] == get): + tile = "n-pole" + elif not "s-pole" in status or ("s-pole" in status and status["s-pole"]["status"] == get): + tile = "s-pole" + else: + ii = -8 + + while ii < 8 and tile == "": + i = ii * 10 + jj = -18 + while jj < 18 and tile == "": + j = jj * 10 + if i >= 0: + ns = "n" + else: + ns = "s" + if j >= 0: + ew = "e" + else: + ew = "w" + + name = ew + norm(abs(j), 3) + ns + norm(abs(i), 2) + + if not name in status or (name in status and status[name]["status"] != "done"): + if ns == "s": + ns_step = -1 + else: + ns_step = 1 + if ew == "w": + ew_step = -1 + else: + ew_step = 1 + j = abs(j) + for k in range(0, 10): + if tile != "": + break + iii = abs(i) + for l in range(0, 10): + name_minor = ew + norm(j, 3) + ns + norm(iii, 2) + if not name in status or (not name_minor in status[name] or (name_minor in status[name] and (status[name][name_minor]["status"] == get))): + tile = name_minor + break + iii += ns_step + j += ew_step + jj += 1 + ii += 1 + + if tile == "": + tile = "None" + + if verbose: + print("Asigning job on tile " + tile) + + c.send(tile.encode()) + c.close() + except IOError: + print("WARNING: Recived invalid package") + c.close() + +except KeyboardInterrupt: + save_state(state) + sock.close() + print("Exiting...") + sys.exit(0) diff --git a/worldbuild-worker.py b/worldbuild-worker.py new file mode 100755 index 0000000..8245f94 --- /dev/null +++ b/worldbuild-worker.py @@ -0,0 +1,172 @@ +#! /usr/bin/python3 +# Copyright (C) 2018-2019 Merspieler, merspieler _at_ airmail.cc +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +import os +from subprocess import run, Popen +import sys +import socket +import re +from time import sleep + +action = "pending" +host = socket.gethostname() +port = 12345 +prefix = "" + +argc = len(sys.argv) +i = 1 +first = 1 +while i < argc: + if sys.argv[i] == "--port": + i += 1 + port = sys.argv[i] + elif sys.argv[i] == "--host": + i += 1 + host = sys.argv[i] + elif sys.argv[i] == "-p" or sys.argv[i] == "--prefix": + i += 1 + prefix = sys.argv[i] + elif sys.argv[i] == "-a" or sys.argv[i] == "--action": + i += 1 + if sys.argv[i] == "pending" or sys.argv[i] == "started" or sys.argv[i] == "rebuild" or sys.argv[i] == "skip": + action = sys.argv[i] + else: + print ("ERROR: Unknown action " + sys.argv[i]) + sys.exit(1) + elif sys.argv[i] == "-h" or sys.argv[i] == "--help": + print("usage: build_chunk.py [OPTIONS]") + print("Runs a single chunk build. Mainly handles status logging") + print("") + print(" -p, --prefix Database prefix to use") + print(" --host Logger host") + print(" --port Logger port") + print(" -a, --action Considered tiles for build. Can be:") + print(" pending: Only builds pending tiles. These are always build: default") + print(" started: Run tiles marked as started. CAUTION, use with care.") + print(" rebuild: Build tiles flaged for rebuild") + print(" skip: Force building tile that are marked for being skipped") + print(" -h, --help Shows this help and exit") + else: + if first == 1: + first = 0 + name = sys.argv[i] + else: + print("Unknown option " + sys.argv[i]) + sys.exit(1) + i += 1 + +def norm(num, length): + num = str(abs(num)) + while len(num) < length: + num = "0" + num + return num + +def send_status(name, status): + try: + sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + sock.connect((host, port)) + sock.send(("set " + name + " " + status).encode()) + sock.close() + except IOError: + print("Unable to send status. Aborting...") + sys.exit(1) + +def get_job(action): + try: + sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + sock.connect((host, port)) + sock.send(("get " + action).encode()) + msg = sock.recv(128) + msg = msg.decode() + match = re.match(r"n-pole|s-pole|[ew]\d{3}[ns]\d{2}|None", msg) + if match != None: + ret = match.group(0) + if ret == "None": + print("No job got asigned. Exiting...") + sys.exit(0) + else: + print("Recived invalid job. Retrying in 10 seconds...") + sleep(10) + ret = get_job(action) + sock.close() + return ret + except IOError: + print("Unable to get job. Retrying in 10 seconds...") + sleep(10) + ret = get_job(action) + return ret + +def execute_build(name, prefix): + send_status(name, "started") + + run("mkdir -p projects/worldbuild-" + name, shell=True) + + run("cp projects/worldbuild/params.ini projects/worldbuild-" + name + "/", shell=True) + + if name == "n-pole": + bounds = "bounds=*-180_80_180_90" + db_name = prefix + "n-pole" + elif name == "s-pole": + bounds = "bounds=*-180_-90_180_-80" + db_name = prefix + "s-pole" + else: + match = re.match(r"([ew])(\d{3})([ns])(\d{2})", name) + if match == None: + print("ERROR: Invalid tile name") + sys.exit(1) + else: + ew = match.group(1) + ew_val = int(match.group(2)) + ns = match.group(3) + ns_val = int(match.group(4)) + + if ew == "w": + ew_val *= -1 + if ns == "s": + ns_val *= -1 + + if ew_val < 0: + bounds = "bounds=*" + else: + bounds = "bounds=" + + bounds += str(ew_val) + "_" + str(ns_val) + "_" + str(ew_val + 10) + "_" + str(ns_val + 10) + if ew_val % 10 != 0: + ew_val = ew_val - (ew_val % 10) + + if ns_val % 10 != 0: + ns_val = ns_val - (ns_val % 10) + + db_name = prefix + ew + norm(ew_val, 3) + ns + norm(ns_val, 2) + + run("sed -i 's/DB_NAME.*/DB_NAME = \"" + db_name + "\"/' projects/worldbuild-" + name + "/params.ini", shell=True) + + run("echo '" + bounds + "' > projects/worldbuild-" + name + "/settings", shell=True) + + build = Popen("./build -S 10 -t 1 worldbuild-" + name, shell=True, start_new_session=True) + + if os.path.isfile("projects/worldbuild-" + name + "/osm2city-exceptions.log"): + run("mv projects/worldbuild-" + name + "/osm2city-exceptions.log projects/worldbuild/output/error/" + name + ".exceptions.log", shell=True) + + run("rm -rf projects/worldbuild-" + name, shell=True) + + send_status(name, "done") + +run = True: + while run: + tile = get_job(action) + execute_build(tile, prefix) diff --git a/worldbuild.py b/worldbuild.py new file mode 100755 index 0000000..619aae7 --- /dev/null +++ b/worldbuild.py @@ -0,0 +1,353 @@ +#! /usr/bin/python3 +# Copyright (C) 2018-2019 Merspieler, merspieler _at_ airmail.cc +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +import os +import sys +import math +import re +import json +import time +import subprocess + +chunk_size = 5 +threads = 5 +cont = 0 +exclude = [] +pbf_path = "" +db_strategy = "demand" +db_prefix = "" +skip_started = False + +argc = len(sys.argv) +i = 1 +first = 1 +while i < argc: + if sys.argv[i] == "-s" or sys.argv[i] == "--chunk-size": + i += 1 + chunk_size = sys.argv[i] + elif sys.argv[i] == "-c" or sys.argv[i] == "--continue": + i += 1 + cont = int(sys.argv[i]) + elif sys.argv[i] == "-t" or sys.argv[i] == "--threads": + i += 1 + threads = sys.argv[i] + elif sys.argv[i] == "-e" or sys.argv[i] == "--exclude": + i += 1 + if os.path.isfile(sys.argv[i]): + try: + with open(sys.argv[i]) as json_data: + exclude += json.load(json_data) + except ValueError: + print("Exclude file '" + sys.argv[i] + "' is no proper JSON file.") + sys.exit(1) + else: + print("File not found: " + sys.argv[i]) + sys.exit(1) + elif sys.argv[i] == "-D" or sys.argv[i] == "--database-startegy": + i += 1 + if sys.argv[i] == "mono" or sys.argv[i] == "demand" or sys.argv[i] == "chunk": + db_strategy = sys.argv[i] + else: + print("ERROR: Unknown database startegy " + sys.argv[i]) + sys.exit(1) + elif sys.argv[i] == "-P" or sys.argv[i] == "--database-prefix": + i += 1 + db_prefix = sys.argv[i] + elif sys.argv[i] == "--skip-started": + skip_started = True + elif sys.argv[i] == "-p" or sys.argv[i] == "--progress": + try: + with open("projects/worldbuild/done") as f: + lines = f.readlines() + for line in lines: + match = re.findall("(-?[0-9]{1,3}\.?[0-9]{0,4})_(-?[0-9]{1,3}\.?[0-9]{0,4})_(-?[0-9]{1,3}\.?[0-9]{0,4})_(-?[0-9]{1,3}\.?[0-9]{0,4})", line) + if match != []: + + w = float(match[0][0]) + s = float(match[0][1]) + e = float(match[0][2]) + n = float(match[0][3]) + + if n == 90: + world = 1 + tile = "N/A" + elif n == -80: + world = 2 + tile = "N/A" + else: + wm = w % 10 + sm = s % 10 + em = e % 10 + nm = n % 10 + + wM = (int(w) - wm) / 10 + sM = (int(s) - sm) / 10 + eM = (int(e) - em) / 10 + nM = (int(n) - nm) / 10 + + cs = n - s + if nm == 0: + nm = 10 + tile = (wm % 10) * 10 + cs * cs * (nm / cs) + + + rows = 0 + while sM > -8: + rows += 1 + sM -= 1 + + world = 3 + 36 * rows + wM + 18 + + print("Current worldbuild tile is " + str(int(world)) + "/578") + print("Current tile " + str(tile) + "% complete") + sys.exit(0) + else: + print("Unable to get progress") + sys.exit(1) + except IOError: + print("Unable to get progress") + sys.exit(1) + elif sys.argv[i] == "-h" or sys.argv[i] == "--help": + print("usage: worldbuild [OPTIONS]") + print("Builds the world") + print("") + print("OPTIONS") + print(" -s, --chunk-size Sets chunk size, default 5") + print(" -t, --threads Number of threads to run") + print(" -c, --continue Contine build from tile number when building with 'demand' strategy") + print(" -e, --exclude Files containing JSON array naming tiles not to be build") + print(" Can be used multiple times.") + print(" If not given projects/worldbuild/exclude will be used") + print(" -D, --database-strategy Database strategies:") + print(" - demand: Uses database 'worldbuild' and imports tiles on demand") + print(" clears db before next tile. Default behaviour") + print(" - chunk: Expects one database per chunk") + print(" - mono: Expexcting database 'worldbuild' containing world wide data") + print(" NOT YET IMPLEMENTED") + print(" -P, --database-prefix When db startegy is chunk, prefix tile names with ") + print(" --skip-started Skip tiles flaged as started when running with 'chunk' or 'mono' strategy") + print(" -h, --help Shows this help and exit") + print(" -p, --progress Shows progress and exit") + sys.exit(0) + else: + if first == 1: + first = 0 + pbf_path = sys.argv[i] + else: + print("Unknown option " + sys.argv[i]) + sys.exit(1) + i += 1 + +if pbf_path == "" and db_strategy == "demand": + print("No pbf-path was given, exiting...") + sys.exit(1) + +def run(command): + exit_code = os.system(command) + if exit_code == 0: + return + elif exit_code == 130: + print("Aborted!") + sys.exit(130) + else: + print("Sub process '" + command + "'exited with code " + str(exit_code) + ". Aborting!") + sys.exit(4) + +run("mkdir -p projects/worldbuild/output/error") + +def build_tile(name, west, south, east, north, chunk_size, threads, cont=False): + global pbf_path + if west < 0: + west = "*" + str(west) + else: + west = str(west) + south = str(south) + east = str(east) + north = str(north) + + run("./read-pbf worldbuild " + pbf_path + name + ".osm.pbf") + run('echo "bounds=' + west + "_" + south + "_" + east + "_" + north + '" > projects/worldbuild/settings') + run("./build worldbuild --chunk-size " + str(chunk_size) + " -t " + str(threads)) + +def after_build(name): + if os.path.isfile("projects/worldbuild/osm2city-exceptions.log"): + run("mv projects/worldbuild/osm2city-exceptions.log projects/worldbuild/output/error/" + name + ".exceptions.log") + # Trigger failed after build script + if os.path.isfile("./scripts/afterbuild-failed"): + os.system("bash -c './scripts/afterbuild-failed " + name + " &'") + else: + # Trigger after build script + if os.path.isfile("./scripts/afterbuild-success"): + os.system("bash -c './scripts/afterbuild-success " + name + " &'") + +def prepare(): + run("./delete-db worldbuild") + run("./create-db worldbuild") + + run("./clear-cache-files worldbuild") + +def run_all(name, w, s, e, n, chunk_size, threads, cont=False): + global pbf_path + if os.system("ls -l " + pbf_path + name + ".osm.pbf | grep ' 73 ' > /dev/null") != 0: + if cont == False: + prepare() + build_tile(name, w, s, e, n, chunk_size, threads, cont) + after_build(name) + else: + print("INFO: Skipping " + name + " because pbf file is empty") + +def norm(num, length): + num = str(num) + while len(num) < length: + num = "0" + num + return num + +def print_build_time(start_time, end_time): + elapsed = end_time - start_time + seconds = elapsed % 60 + elapsed = (elapsed - seconds) / 60 + minutes = elapsed % 60 + elapsed = (elapsed - minutes) / 60 + hours = elapsed % 24 + days = (elapsed - hours) / 24 + + time = str(int(hours)) + " Hours, " + str(int(minutes)) + " Minutes and " + str(int(seconds)) + " Seconds" + if days > 0: + time = str(int(days)) + " Days, " + time + + print("Running worldbuild took " + time) + +# Get exclude file +if os.path.isfile("projects/worldbuild/exclude") and exclude == []: + try: + with open("projects/worldbuild/exclude") as json_data: + exclude = json.load(json_data) + except ValueError: + print("Exclude file 'projects/worldbuild/exclude' is no proper JSON file.") + sys.exit(1) + +start_time = time.time() + +if db_strategy == "demand": + if cont != 0: + tile = cont - 2 + tile_in_row = ((tile - 1) % 36) - 18 + ii = (tile - tile_in_row - 19) / 36 - 8 + else: + ii = -8 + # Build poles first + if not "n-pole" in exclude and cont <= 1: + run_all("n-pole", -180, 80, 180, 90, 360, threads) + + if not "s-pole" in exclude and cont <= 2: + run_all("s-pole", -180, -90, 180, -80, 360, threads) + + while ii < 8: + i = ii * 10 + if cont != 0: + jj = tile_in_row + else: + jj = -18 + while jj < 18: + j = jj * 10 + if i >= 0: + ns = "n" + else: + ns = "s" + if j >= 0: + ew = "e" + else: + ew = "w" + + name = ew + norm(abs(j), 3) + ns + norm(abs(i), 2) + + if not name in exclude: + if cont != 0: + run_all(name, j, i, j + 10, i + 10, chunk_size, threads, cont=True) + cont = 0 + else: + run_all(name, j, i, j + 10, i + 10, chunk_size, threads, cont=False) + jj += 1 + ii += 1 +elif db_strategy == "chunk": + if os.path.isfile("projects/worldbuild/status"): + try: + with open("projects/worldbuild/status") as json_data: + status = json.load(json_data) + except ValueError: + print("ERROR: Invalid status file") + sys.exit(1) + else: + status = {} + + tile_list = "" + + # Build poles first + if not "n-pole" in exclude and (not "n-pole" in status or ("n-pole" in status and status["n-pole"]["status"] != "done" and (status["n-pole"]["status"] == "started" and not skip_started))): + tile_list += "n-pole\n" + if not "s-pole" in exclude and (not "s-pole" in status or ("s-pole" in status and status["s-pole"]["status"] != "done" and (status["s-pole"]["status"] == "started" and not skip_started))): + tile_list += "s-pole\n" + + ii = -8 + + while ii < 8: + i = ii * 10 + jj = -18 + while jj < 18: + j = jj * 10 + if i >= 0: + ns = "n" + else: + ns = "s" + if j >= 0: + ew = "e" + else: + ew = "w" + + name = ew + norm(abs(j), 3) + ns + norm(abs(i), 2) + + if not name in exclude and (not name in status or (name in status and status[name]["status"] != "done")): + if ns == "s": + ns_step = -1 + else: + ns_step = 1 + if ew == "w": + ew_step = -1 + else: + ew_step = 1 + j = abs(j) + for k in range(0, 10): + iii = abs(i) + for l in range(0, 10): + name_minor = ew + norm(j, 3) + ns + norm(iii, 2) + if not name_minor in exclude and (not name in status or (not name_minor in status[name] or (name_minor in status[name] and (status[name][name_minor]["status"] != "done" and (status[name][name_minor]["status"] == "started" and not skip_started))))): + tile_list = tile_list + name_minor + "\n" + iii += ns_step + j += ew_step + jj += 1 + ii += 1 + + if db_prefix != "": + db_prefix = "-p " + db_prefix + subprocess.run(["parallel", "--eta", "-j", str(threads), "./scripts/build-chunk.py {} " + db_prefix], input=tile_list.encode()) +elif db_startegy == "mono": + print("ERROR: NOT YET IMPLEMENTED") + sys.exit(1) + +print_build_time(start_time, time.time()) + +