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

Parse the 'description' tag of routes in the same way as you parse them of objects #18611

Closed
snooppr opened this issue Nov 23, 2023 · 6 comments · Fixed by #18782, #18774 or #19033
Closed

Comments

@snooppr
Copy link

snooppr commented Nov 23, 2023

Describe the idea (required)

I noticed that OsmAnd displays the 'description' tag for objects (this is a description of the object with a limit of 240 characters on OSM). But the same 'description' tag OsmAnd does not parse routes.

By default, OsmAnd does not highlight routes, to see the routes, select your profile (in the upper left corner, for me it’s a pedestrian) and scroll to the very bottom of the list and mark the display of routes, their coloring will appear on the maps (something like https://graphhopper .com/maps/?profile=car&layer=TF+Outdoors).
When choosing a route, see https://www.openstreetmap.org/relation/15004011 for an example. OsmAnd does not display a description of the route. This is very poor and does not give any idea: what kind of route/description it is, what its length is, its starting point and finish.

Add tag parsing for routes: "description"; "distance"; "from", "to".

Tell us about the expected behaviour (required)

https://www.openstreetmap.org/relation/15004011
теги


another example:
https://www.openstreetmap.org/relation/9591689

окская тропа

Tell us about alternatives you've considered (required)

N/A

Context (optional)

No response

@DmitryAlexei
Copy link
Contributor

OsmAnd~ 4.6.0#1135m, released: 2023-12-01
OsmAnd does not display some optional tags according to Relation:route scheme see Wiki:

  • description
  • color
  • distance
    Also, ref tag is missing. This one, in some situations, is considered as important.
    This list may not be complete.

Osmand does not also display other tags commonly used in OSM:

  • From and to tags
  • type
  • optional names in other languages
  • cycle_network:
  1. https://www.openstreetmap.org/relation/15004011
  1. https://www.openstreetmap.org/relation/72568 51.02111/-3.09827

@vshcherb vshcherb added this to the 4.6-backend milestone Dec 5, 2023
xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Dec 14, 2023
xmd5a2 added a commit that referenced this issue Dec 14, 2023
xmd5a2 added a commit to osmandapp/OsmAnd-resources that referenced this issue Dec 14, 2023
alex-osm added a commit that referenced this issue Dec 19, 2023
Display route tags automatically #18611
Chumva added a commit that referenced this issue Dec 20, 2023
Group translatable keys, expand on click #18611
@DmitryAlexei
Copy link
Contributor

DmitryAlexei commented Dec 21, 2023

To test:

  • added tags description, from, to, distance, direction, state, colour, ascent, descent, roundtrip, tourism
  • Berlin map will be regenerated soon, other maps will be regenerated at the beginning of the next month
  • go to 52.5199, 13.4053, enable cycle routes and see if these tags are present

@dmpr0
Copy link
Contributor

dmpr0 commented Dec 21, 2023

Review

  • Should be retested when all maps will be updated

@dmpr0
Copy link
Contributor

dmpr0 commented Jan 10, 2024

Review - 2

Missed units

Screenshot
  • Missed units for distance
  • Missed units for descent
  • Missed units for ascent


Missed Description

Screenshot

@0xRe1nk0 0xRe1nk0 linked a pull request Feb 6, 2024 that will close this issue
@EugeneZmeuk
Copy link
Member

EugeneZmeuk commented Mar 29, 2024

29.03.2024 Review

@vshcherb
Copy link
Member

vshcherb commented May 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment