aboutsummaryrefslogtreecommitdiff
path: root/build_renfe/start.sh
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2026-04-05 22:30:15 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2026-04-05 22:30:27 +0200
commit95f8e03affb17b3b4dd8cff202523f5b131972df (patch)
tree23e31512167f1295defc9cc4639ff6f411c04a54 /build_renfe/start.sh
parentb2631a82a394af8c38224ae0722bcf728d651cfd (diff)
renfe: generate shapes properly and consistently
- Update OSRM container to use ALL SPAIN (sorry, Trencelta) - Generate a shape per trip (no trying to reuse, since trains that change stop sequence got wrong shapes) - Add more position corrections for FEVE - Run separate generators for FEVE and Renfe, since sometimes OSRM would pick the one that shouldn't and generate a wrong shape - Add a debug script to generate a trip's visualisation from GTFS, since I was about to lose my mind debugging this pile of crap - Update README (before starting anything else) Time spent: ca. 6 hours Closes #1
Diffstat (limited to 'build_renfe/start.sh')
-rw-r--r--build_renfe/start.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_renfe/start.sh b/build_renfe/start.sh
new file mode 100644
index 0000000..2e4ddbd
--- /dev/null
+++ b/build_renfe/start.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+osrm-routed --algorithm mld --port 5000 /data/standard/spain-latest.osrm &
+osrm-routed --algorithm mld --port 5001 /data/narrow/spain-latest.osrm \ No newline at end of file