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

Exclude [ref] from street names for secondary and lower #8454

Open
euf opened this issue Jun 12, 2024 · 1 comment
Open

Exclude [ref] from street names for secondary and lower #8454

euf opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
Directions Issues with next turns, labels, streets Driving Drive a car related issues Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing UX User eXperience, an issue with usability

Comments

@euf
Copy link
Contributor

euf commented Jun 12, 2024

Right now the "Next Street" string (in the top bar in the navigation mode) includes [ref] part if available. It is also announced with the TTS if it's enabled.

In my experience this both

  • looks bad: "[E123] Random Street";
  • sounds bad: "Turn right onto E one hundred and twenty three Random Street".

I'd like to propose a better heuristic for building this string.

For highway=secondary, highway=tertiary and all other roads (as well as their links) the [ref] part should be used if and only if there's no regular name present.

This way "[E123] Random Street" inside a city becomes just "Random Street" in OM navigation, but it still would be "[E123]" if there's no common name.

For highway=motorway, highway=trunk, highway=primary keep the things as is (because even if they have a common name, they are still important as a part of a bigger network).

For their links, utilize junction:ref and destination tags instead, as explained in #8457.

Inspired by #3130.

@euf euf added Directions Issues with next turns, labels, streets Driving Drive a car related issues Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing UX User eXperience, an issue with usability labels Jun 12, 2024
@biodranik
Copy link
Member

CC @zyphlar

@zyphlar zyphlar assigned zyphlar and unassigned zyphlar Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Directions Issues with next turns, labels, streets Driving Drive a car related issues Navigation Navigator mode, e.g. directions and speed instructions, Nav UI, route drawing UX User eXperience, an issue with usability
Projects
None yet
Development

No branches or pull requests

3 participants