🚧 fix OSM data format in test.yml workflow
Some checks failed
GTFS Shapes Generation / modify_routes (push) Failing after 49s
Some checks failed
GTFS Shapes Generation / modify_routes (push) Failing after 49s
This commit is contained in:
parent
eb2a556276
commit
172f7eafdb
1 changed files with 7 additions and 1 deletions
|
@ -12,11 +12,17 @@ jobs:
|
||||||
- name: Download OSM data
|
- name: Download OSM data
|
||||||
run: curl -o luxembourg-latest.osm.pbf https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
|
run: curl -o luxembourg-latest.osm.pbf https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf
|
||||||
|
|
||||||
|
- name: Convert OSM data to .osm
|
||||||
|
run: |
|
||||||
|
apt update && \
|
||||||
|
apt install -y osmctools && \
|
||||||
|
osmconvert luxembourg-latest.osm.pbf -o=luxembourg-latest.osm
|
||||||
|
|
||||||
- name: Run Shape Generation
|
- name: Run Shape Generation
|
||||||
uses: gtfs-actions/generate-shapes@main
|
uses: gtfs-actions/generate-shapes@main
|
||||||
with:
|
with:
|
||||||
gtfs_file: sample-feed.zip
|
gtfs_file: sample-feed.zip
|
||||||
osm_file: luxembourg-latest.osm.pbf
|
osm_file: luxembourg-latest.osm
|
||||||
mot: bus
|
mot: bus
|
||||||
output_file: modified-feed.zip
|
output_file: modified-feed.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue