abstreet/data/regen.sh
Dustin Carlino 9054666a0b Use RDP simplification to road center-lines when we glue them together after collapsing degenerate intersections. This is a followup to #833.
And clean up some other things that RDP does better.

Fallout from regenerating everything:

- Enfield borough crashed, so removed it
- All UK scenarios are now much bigger, due to the changes in #853 being
  picked up
- Poundbury gridlocks now due to that
2022-02-10 14:40:11 +00:00

15 lines
469 B
Bash
Executable File

#!/bin/bash
set -e
rm -fv data/input/us/seattle/raw_maps/huge_seattle.bin data/system/us/seattle/maps/huge_seattle.bin data/input/us/seattle/popdat.bin
RUST_BACKTRACE=1 cargo run --release --bin cli --features importer/scenarios -- regenerate-everything
# If a map changes that has external JSON scenarios, enable this!
# importer/external_scenarios.sh
RUST_BACKTRACE=1 cargo run --release --bin game -- --prebake
RUST_BACKTRACE=1 cargo run --release --bin tests