Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/rail alberto #193

Merged
merged 2 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ infrastructure_datasets:
tanzania-latest: 'https://download.geofabrik.de/africa/tanzania-latest.osm.pbf'
thailand-latest: 'https://download.geofabrik.de/asia/thailand-latest.osm.pbf'
wales-latest: 'https://download.geofabrik.de/europe/great-britain/wales-latest.osm.pbf'
spain-latest: 'https://download.geofabrik.de/europe/spain-latest.osm.pbf'
vietnam-latest: 'https://download.geofabrik.de/asia/vietnam-latest.osm.pbf'
# small extract for testing purposes
tanzania-mini: 'https://raw.githubusercontent.com/mjaquiery/aqueduct/main/tanzania-mini.osm.pbf'
Expand Down Expand Up @@ -61,7 +62,7 @@ composite_network:
# N.B. feature SELECTION is done with the expressions pointed to from network_filters
keep_tags:
road: ['highway', 'surface', 'bridge', 'maxspeed', 'lanes']
rail: ['railway', 'bridge', 'name', 'gauge', 'usage']
rail: ['railway', 'bridge', 'name', 'gauge', 'usage','electrified','passenger_lines','voltage','maxspeed']

# Number of slices to cut dataset into -- must be a square number
slice_count: 64
Expand Down
2 changes: 1 addition & 1 deletion config/osm_filters/rail.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rail sections "for full sized passenger or freight trains in the standard
# gauge of the country or state"
w/railway=rail
w/railway=rail,narrow_gauge

# https://wiki.openstreetmap.org/wiki/Tag:railway%3Dstation
# stations "should be tagged as a node, placed at the centre of the station
Expand Down