osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.55k stars 1k forks source link

Some cycling network nodes and routes not rendered #9437

Closed matthijskooijman closed 3 years ago

matthijskooijman commented 4 years ago

This is a followup from #5686, which has been closed after cycle route rendering was much improved.

I doublechecked all the problematic cases from my https://github.com/osmandapp/Osmand/issues/5686#issuecomment-412665824 and indeed most of them are fixed, but unfortunately not all of them. Also, some of them seem to be more pronounced in the Topo map style (which I rather like for cycling, because of its higher contrast), but also happen in some cases in the default OsmAnd style.

In particular, the following problems still exist:

So there might actually be two separate issues:

This is OsmAnd version 3.7.4, on Android 7, with offline maps and live updates. Screenshots above were made with the "Netherlands" standard map from May 1, 2020, with live updates applied (not sure which version, probably something like july 6th or 7th).

vshcherb commented 4 years ago

I think this issue should be closed with new maps.

matthijskooijman commented 4 years ago

I think this issue should be closed with new maps.

Thanks! I see in the rendering styles that significant changes have been made in the last weeks, I suppose that's what should fix this. I wanted to doublecheck the above items with the nightly build, but I noticed some of the changes also affect the obf export files, so I suspect this means that the nightly build needs newly exported map files as well (seems most recent maps available are july 1st, so I guess that's too old)?

More generally, I wonder whether this means that updating the app without updating the maps might actually break things due to refactorings like these? Or are there mechanism in place for compatibility?

In partcular, I noticed (in yesterday's nightly with july 1st maps) the Topo style seems to show no cycle nodes at all, but I suspect this is because some tags are missing in the older maps?

vshcherb commented 4 years ago

Once @xmd5a2 is back from vacation he will double check Topo style and this issue will be finally over. I started using cycle nodes myself more often in NL, so I think I will double check visibility in all modes in field.

Most important of course to draw nodes and display a combination of international routes as well. As I see we need to show route names on the line (not like flat label point) and there is a mismatch sometimes (60-61 is separated from other routes)

image

vshcherb commented 4 years ago

List of TODO from me:

matthijskooijman commented 4 years ago

As I see we need to show route names on the line (not like flat label point) Ah, that would indeed be helpful. As for drawing the route names at all, I originally thought those would be rather pointless (at least for node networks), but now that they are drawn, I noticed on my recent trip that it is indeed terribly convenient if you can see what the destination node of a route is going when you're zoomed in on the departure node. Drawing them along the route, would make them even easier to distinguish.

(60-61 is separated from other routes)

Looking at your screenshot, isn't 60-61 left of the river and the other routes right of the river? If so, they're rightfully separated? OSM.org confirms this when you zoom in: https://www.openstreetmap.org/#map=17/52.31524/4.90515&layers=CN Maybe you realized this already, but considered to merge them anyway when zoomed out because they're close enough? That sounds hard to implement, and might even be confusing to users.

vshcherb commented 4 years ago

Modified the list then :-) 60-61 is correct separation

matthijskooijman commented 4 years ago

In case you didn't see them yet, maybe #9598 and #9597 are also things that are related to the things on your list.

matthijskooijman commented 4 years ago

Hm, that might sound a bit unfriendly ("Here, there's more things I think you should do"), but that's certainly not what I meant.

Even more so, I'm actually very happy with all the work that's gone into the cycling (route) features recently. OsmAnd was already a great tool for bicycle route planning and live navigating (I built a mount to put my tablet on my bike for running OsmAnd on the way two years ago as a first attempt, and we stopped carrying paper maps the next holiday because it worked so well), recent additions and fixes have made it better and it seems that perfection is getting near :-) So thanks for all this!

xmd5a2 commented 4 years ago

Show cycle routes text along way https://github.com/osmandapp/OsmAnd-resources/commit/8d58e9bad376a4be95df5cfdd73d4078534f29f8

matthijskooijman commented 4 years ago

I just tried the default dev build, which has that change included, looks good!

vshcherb commented 3 years ago

Most of the issues closed and fixed, others are moved to another issues