You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title says it all, I'm using the view public transport - routes to highlight whenever a route in my area becomes broken. unfortunately this works properly only for urban buses, where no section is "hail_and_ride". for rural bus routes, they all fail the role test.
if I understand the logic, we have two types of way members, one set where the roles would identify the way as a platform, one set where the roles would identify the way as a route section. as of now, members of this second set are only allowed the empty role, while I need 'hail_and_ride' to be accepted as well.
in this example area one route now correctly passes all tests, two more routes should pass all tests (now failing the unknown_role test), one route should fail the no_stops_pltf_at_begin test as it indeed does now.
The text was updated successfully, but these errors were encountered:
I see that role checking for stops and platforms is done by means of two string comparison functions, while role checking for ways is just strcmp against the empty string.
possibly enough to replace the various comparisons !strcmp(x->role(), "") by an invocation is_way(x->role()) of the following function:
title says it all, I'm using the view public transport - routes to highlight whenever a route in my area becomes broken. unfortunately this works properly only for urban buses, where no section is "hail_and_ride". for rural bus routes, they all fail the role test.
if I understand the logic, we have two types of way members, one set where the roles would identify the way as a platform, one set where the roles would identify the way as a route section. as of now, members of this second set are only allowed the empty role, while I need 'hail_and_ride' to be accepted as well.
in this example area one route now correctly passes all tests, two more routes should pass all tests (now failing the
unknown_role
test), one route should fail theno_stops_pltf_at_begin test
as it indeed does now.The text was updated successfully, but these errors were encountered: