Skip to content

remove block_private and block_fords options - #3076

Closed
karussell wants to merge 6 commits into
car_road_accessfrom
remove_block_private_options
Closed

karussell wants to merge 6 commits into
car_road_accessfrom
remove_block_private_options

Conversation

@karussell

@karussell karussell commented Oct 28, 2024 •

Copy link
Copy Markdown
Member

Second try (#2780).

Now based on #3066.

  • fix TODO NOW
  • move a few things out of this PR like the consistency issue between xy_access & hgv. As well as the small order fix for OSMRoadAccessParser for multiple values separated by ;. Also that we replaced OSMHgvParser with OSMRoadAccessParser.
  • do not change the custom model in RouteResourceLeipzigTest.java, instead just change the numbers (after confirming that only the intended custom model changes are sufficient to keep the numbers)

@karussell karussell changed the title remove block_private and block_fords option remove block_private and block_fords options Oct 28, 2024
Comment on lines 86 to 92
"90,-1,algorithm=" + DIJKSTRA_BI,
"104,-1,algorithm=" + ASTAR_BI,
"33133,1,ch.disable=true&algorithm=" + DIJKSTRA,
"22497,1,ch.disable=true&algorithm=" + ASTAR,
"15434,1,ch.disable=true&algorithm=" + DIJKSTRA_BI,
"10926,1,ch.disable=true&algorithm=" + ASTAR_BI
})

@karussell karussell Oct 28, 2024 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The visited nodes would change with a custom profile that excludes "car_road_access == PRIVATE" too, because access=customers will be now excluded too. But in general this is more correct and we don't want to separate this from PRIVATE for now. So just change the numbers.

setEncodedValuesString("car_access, car_average_speed").
setProfiles(TestProfiles.accessAndSpeed("profile", "car")).
setEncodedValuesString("car_access, car_average_speed, road_access").
setProfiles(carAccessAndPrivateAndSpeed("car")).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@easbar as the new default for car_access is without the private exclusion, I would prefer to just adapt the numbers in the tests instead of creating a custom profile like I did here (preliminary) with the private exclusion. Does this make sense for you too?

…s and make xy_access&hgv encoded values more consistent to each other

This branch was previously deployed

1 inactive deployment
benchmarks — 32c523c8 Deployed Nov 21, 2024 by karussell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant