Add walk safety to way property sets and walkSafetyFactor routing parameter - #4328
Conversation
|
I really like the direction this is going. There are quite a few things in the WayProperty code that needs cleanup but it would be unfair to push that on you so I think just copying what is there is ok. Since the logic in StreetEdge is very complex, one thing I would like to ask is to add tests. Fortunately, there are already some in |
I'll add some tests for parsing of the way property sets and for the StreetEdges at least. |
|
This is now properly ready for review. I created some walk safety rules for the |
|
The walk safety values are not currently used in wheelchair traverse or in bike walking as they use |
…erer.java Co-authored-by: Leonard Ehrenfried <mail@leonard.io>
|
I really like the latest changes in particular that you refactored all of the existing sets. I have a suggestion about making them more compact though: leonardehrenfried@647e450 What do you think about omitting the Whether the new method should be called |
I thought about that too. I was not quite sure how appropriate it would be to pass the builder as an argument for a method in the
I don't remember seeing an |
|
At today's meeting we decided that we want to use the shortest version suggested by myself. @optionsome is free to rename the method |
|
I ended up going with the @t2gran suggestion |
hannesj
left a comment
There was a problem hiding this comment.
Looks good, couple of minor things
This reverts commit 21c1a8b.
Summary
Adds options to insert walk safety values in way property sets and adds
walkSafetyFactorparameter for controlling how much those values are used in routing.Issue
closes #4324 #3541
Unit tests
Added
Changelog
From title