osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

Switching "Hiking trails difficulty grade" on hides highway=path (without grade, I suppose) #21218

Open grinapo opened 3 days ago

grinapo commented 3 days ago

Description

Switching "Hiking trails difficulty grade" make highway=path invisible, unless it has a SAC grade.

Steps to reproduce

  1. Choose OsmAnd (or UniRS) style
  2. switch on "Hiking trails difficulty grade"
  3. paths are gone.

Actual result

Paths invisible.

Expected result

Paths without SAC scale stay as they were, while those with SAC scale shown... whatever their appearance is supposed to be (apart from invisible).

Your Environment (required)

OsmAnd Version: Nightly 4.9.0#3500m 2024-10-21
Android/iOS version: 12
Device model: mi10p
yuriiurshuliak commented 3 days ago

I reviewed the "Hiking Trails Difficulty Grade" feature, but could not reproduce the issue. Here’s a summary of how this feature works:

Some trails show different colors for difficulty based on either the SAC (Swiss Alpine Club) or CAI (Italian) classifications, each specifying the required equipment for mountain trails. Currently, OsmAnd only supports these two classifications.

If SAC is enabled, only trails marked with SAC difficulty will display; the same applies if CAI is selected.

Here is the relevant documentation: https://osmand.net/docs/user/map/routes/#hiking-trails-difficulty-grade

To view all hiking trails, enable Hiking Routes. This includes trails categorized by type: local (lwn), regional (rwn), national (nwn), and international (iwn).

grinapo commented 5 hours ago

If SAC is enabled, only trails marked with SAC difficulty will display; the same applies if CAI is selected.

Help me to exactly understand:

If I enable "Hiking Trails Difficulty Grade" feature and none of the ways on the display does have SAC (or CAI, depending on the setting) tagging then all the ways will be invisible?

My expectation was

What I see

instead, when I switch it on and move to an area where nothing is SAC-scale-tagged:

vshcherb commented 37 minutes ago

Routes and Trails are displayed as special transparent lines or bubles on top of existing lines, so if you disable them you should still see normally rendered paths. In theory routes and trails (difficulty grade is a trail feature) don't exchange, so you should be able to see both of these features independently.