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

Normalize surface and smoothness variants #460

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

mjaschen
Copy link
Contributor

The surface tag exists in different variants,
e.g. surface, cycleway:surface etc.

Previously, the surface and smoothness tags were only processed for route analysis if they were found in their canonical form in the BRouter server response.

With this commit, the variants are normalized down to the main tag name which has the effect that they're included in the route analysis.

Fixes #438

The `surface` tag exists in different variants,
e.g. `surface`, `cycleway:surface` etc.

Previously, the `surface` and `smoothness` tags were only processed for route analysis if they were found in their canonical form in the BRouter server response.

With this commit, the variants are normalized down to the main tag name which has the effect that they're included in the route analysis.

Fixes nrenner#438
…othness` values

This commit ensures that all matching route segments are highlighted when hovering over a surface or smoothness line in the analysis tables.
@nrenner nrenner merged commit e822a97 into nrenner:master Nov 22, 2021
@nrenner nrenner added this to the 0.17.0 milestone Jun 2, 2022
@mjaschen mjaschen deleted the fix/github-438 branch June 30, 2022 12:44
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.

Use cycleway:surface for surface statistics
2 participants