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

Fix #6838 Announce the change of street names #8787

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alrega
Copy link

@alrega alrega commented Apr 12, 2020

One road may be result of several streets changing one into another. In that case OsmAnd didn't indicate that street name would change, because thare was no turn left/right in the route.

Commit adds the new feature. When two segments of stright part route have different street names, a new 'stright' direction with the new name will be inserted into the list of directions.

This is not applied to roads that have international/national refs, like 'E 101'

One road may be result of several streets changing one into another. In that case OsmAnd didn't indicate that street name would change, because thare was no turn left/right in the route.

Commit adds the new feature. When two segments of stright part route have different street names, a new 'stright' direction with the new name will be inserted into the list of directions.

This is not applied to roads that have international/national refs, like 'E 101'
@alrega
Copy link
Author

alrega commented Apr 14, 2020

Hello @vshcherb, I can't assign a reviewer to this PR. Could you help?
Thanks in advance.

String curStreetName = s.getObject().getName(ctx.getSettings().MAP_PREFERRED_LOCALE.get(),
ctx.getSettings().MAP_TRANSLITERATE_NAMES.get());
String curIntRef = s.getObject().getValue("int_ref");
String curRoadRef2 = s.getObject().getValue("road_ref_2");
Copy link
Member

Choose a reason for hiding this comment

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

road_ref_2, int_ref looks strange cause they are specific to some specific map area and it doesn't look as a general solution

@vshcherb vshcherb linked an issue Apr 14, 2020 that may be closed by this pull request
@vshcherb vshcherb added the Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning label Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Nice to Have Should be fixed but there is no priority or no possibility to fix it within current horizon planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: announce the change of street names
3 participants