2020-01-13 17:02:11 +00:00
|
|
|
# User scripts
|
|
|
|
|
|
|
|
**Note**: User scripts are not part of the easy-osm2city concept... use only if your know what you are doing.
|
|
|
|
|
2020-01-13 17:25:56 +00:00
|
|
|
## General
|
2021-01-26 22:01:31 +00:00
|
|
|
* `analyse-run-time.py`: Shows a breakdown of the runtime. Depends on `tabulate`.
|
|
|
|
* `common.py`: Helper functions for other scripts.
|
2020-01-13 17:25:56 +00:00
|
|
|
|
|
|
|
## OSM Source
|
2021-01-26 22:01:31 +00:00
|
|
|
* `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.
|
2020-01-13 17:02:11 +00:00
|
|
|
* `osmium-config`: Config files for osmium, used by the split-world script.
|
2020-01-13 17:25:56 +00:00
|
|
|
* `chunk-import.sh`: Imports each 10 by 10 degree area in own database.
|
|
|
|
|
|
|
|
## Worldbuild
|
|
|
|
* `worldbuild.py`: Old worldbuild script.
|
2021-01-26 22:01:31 +00:00
|
|
|
* `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.
|
2020-01-13 17:25:56 +00:00
|
|
|
* `worldbuild-manager.py`: Handles job asignments and keeps track of the status.
|
|
|
|
* `worldbuild-worker.py`: Starts jobs that it got asigned by the manager.
|
2021-01-26 22:01:31 +00:00
|
|
|
* `worldbuild-runner.py`: Handles starting and stopping of workers.
|
|
|
|
* `worldbuild-packager.py`: Packages the completed scenery, ready for distribution.
|