tracestrack / tracestrack-maps

The stylesheet for carto and topo maps
https://www.tracestrack.com/information/
Creative Commons Zero v1.0 Universal
23 stars 2 forks source link

Use "ref" Tag for Path names #32

Open karatemuffin opened 1 month ago

karatemuffin commented 1 month ago

At the moment paths/relations are getting labeld by their sac-scale (T1, T2, ...). When using maps people in general want to know the name of a trail, cause thats whats also written on the signs/marks.

In OSM a relation can have a 'name'/'ref' tag to be identfied, whereby a relation with the 'ref=6' can have various members way(highway=path) that are part of it e.g. 'ref=6B' and even 'ref=3'. See also the attached image, where the relation consists of the ways 3, 6, 6B.

So i suggest to use the 'ref'/'name' tag of ways where available to label paths. If such information is not available for a path use the name/ref of the relation.

Bildschirmfoto_2024-05-26_22-17-19

quinncnl commented 1 month ago

Hi! Currently it renders both path name and sac scale. Adding the path ref and relation refs is possible. Will explore some rendering possibilities soon.