No description
Find a file
fly fda27979ef Added locking for critical selects
Signed-off-by: fly <merspieler@airmail.cc>
2021-02-19 23:09:13 +00:00
osmium-config Initial commit 2020-01-13 17:02:11 +00:00
.gitignore Added .gitignore 2020-03-12 06:32:18 +00:00
analyse-run-time.py Cosmetics 2020-01-16 01:27:33 +00:00
chunk-import.sh Use correct pbf path 2020-08-27 11:15:31 +00:00
common.py Bug fixes 2020-08-27 11:05:54 +00:00
db Corrected db layout 2020-06-25 01:34:08 +10:00
flag-rebuild.py Fix common function use 2021-01-26 21:30:38 +00:00
get-progress.py Fix not updating in subsequents iterations due to caching 2020-08-28 16:39:28 +00:00
import-progress.py Fix triggers 2020-08-30 02:14:22 +10:00
init-db.py Create index to speed up queries 2020-09-07 23:45:29 +10:00
README.md Updated README.md 2021-01-26 22:01:31 +00:00
set-status.py Step 2020-03-13 14:07:44 +01:00
split-world.py Use python3 2020-12-07 10:00:00 +01:00
worldbuild-manager.py Added locking for critical selects 2021-02-19 23:09:13 +00:00
worldbuild-packager.py osm2city path prefix removed 2021-01-26 21:30:15 +00:00
worldbuild-runner.py Added shot versions for commands 2020-08-27 11:09:04 +00:00
worldbuild-worker.py Bug fixes 2020-08-27 11:09:40 +00:00
worldbuild.py Cosmetics 2020-01-16 01:27:33 +00:00

User scripts

Note: User scripts are not part of the easy-osm2city concept... use only if your know what you are doing.

General

  • analyse-run-time.py: Shows a breakdown of the runtime. Depends on tabulate.
  • common.py: Helper functions for other scripts.

OSM Source

  • split-world.py: Splits the world into 10 by 10 degrees areas covering everything from 80 north to 80 south and the poles.
    Designed to work with 16GB of RAM.
  • osmium-config: Config files for osmium, used by the split-world script.
  • chunk-import.sh: Imports each 10 by 10 degree area in own database.

Worldbuild

  • worldbuild.py: Old worldbuild script.
  • import-progress.py: Import the old .json progress files into the database.
  • get-progress.py: Export progress to .json for things like status website.
  • init-db.py: Initializes the database with all tiles.
  • set-status.py: Manually change the status of a tile.
  • worldbuild-manager.py: Handles job asignments and keeps track of the status.
  • worldbuild-worker.py: Starts jobs that it got asigned by the manager.
  • worldbuild-runner.py: Handles starting and stopping of workers.
  • worldbuild-packager.py: Packages the completed scenery, ready for distribution.