osm-progress
osm-progress copied to clipboard
Renders progress of an OSM mapping party.
PREREQUISITES
ImageMagic needs to be installed PHP 5.3 needs to be installed Osmosis needs to be in ../osmosis-latest/bin (as binary name "osmosis") You need to have a full rendering stack setup... You can only start use this before the changes happen.
SETUP
-
Rename config.txt.example to config.txt, and edit config.txt. The format needs to be exactly like it is! Also make sure that LAT1 < LAT2 and LON1 < LON2. The bounding box for "osmosis" needs to be about twice as large as the bounding box for "edits" (through LAT1, LAT2, LON1, LON2)
-
Run ./setup.sh
-
Get a matching state file from https://planet.openstreetmap.org/replication/minute Typically one that's a day from before the time for the planet file and save it as "state.txt"
-
Edit "configuration.txt" and make it:
baseUrl=https://planet.openstreetmap.org/replication/minute maxInterval = 900
-
run "./update.sh" once to make check whether it works.
Repeat this until the end of the mapping period.
Then to create the video:
- Put a 900x472 pixel image in config/title-image.jpg
- run (in the root): ./create-artwork.sh
- run ./generate.sh