Add highway=platform to IsBoardingLocation() #6505
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Since #6247 it has been possible to link transit data to the streetgraph for linear ways and not just nodes and areas. The list of tags in IsBoardingLocation() was not appropriate for this with regards to buses which use tag highway=platform for linear ways. This PR therefore adds highway=platform to the function.
Issue
Closes #6433
Unit tests
None
Documentation
Docs were updated and now mention both highway=platform and railway=platform in addition to the previous list of tags.