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

feat: remove unused costing models #6

Merged
merged 2 commits into from
Dec 23, 2024
Merged

Conversation

sgoel
Copy link
Collaborator

@sgoel sgoel commented Dec 23, 2024

This PR removes unused costing models from being taken in to consideration when building tiles.
It also prevents them from being used when making routing requests.

https://ridewithvia.atlassian.net/browse/REM-8651

This PR removes unused costing models from being
taken in to consideration when building tiles.
It also prevents them from being used when making
routing requests.
vehicle_types: [train, tram, light_rail]
# Reversing costs 3 minutes.
u_turn_costs: 180
custom_model_files: [tramtrain.json, 15kv-ac_750v-dc.json, gauge_1435.json, preferred_direction.json]
- name: all_tracks
turn_costs:
vehicle_types: [train, tram, light_rail, subway]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This list is not meant to be in sync with the paper doc. See line 19 in this file:

vehicle_types: [train, tram, light_rail, subway] (vehicle types used for vehicle-specific turn restrictions)

@chelsey
Copy link

chelsey commented Dec 23, 2024

thanks for ticket link too 🍧 👍

@sgoel sgoel merged commit c6d6a6a into master Dec 23, 2024
1 check passed
@sgoel sgoel deleted the remove-costing-profiles branch December 23, 2024 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants