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

Render peak names instead elevation at "low" zoom levels #7

Closed pyrog closed 7 months ago

pyrog commented 8 months ago

Elevations aren't useful at low zoom levels (12-14) but names are 😉 Check other rendering to see differences (CyclOSM, Cycle map, OpenTopoMap…)

Exemple: Pointe de Dran

quinncnl commented 8 months ago

Yes there is another discussion here: https://github.com/tracestrack/tracesmap.com/issues/3 This requires some investigation but will be done soon.

quinncnl commented 7 months ago

Some investigation gives following results: 1) peaks without name will show from z15 2) peaks with name will show from z13 3) peaks with ranking > 5 will show from z12 4) peaks with ranking > 20 will show from z10

Ranking is currently calculated with a simple algorithm: number of tags + prominence/100 (prominence defaults to 100)

quinncnl commented 7 months ago
Scherm­afbeelding 2023-11-25 om 12 50 24

Z12 Mont Blanc

Scherm­afbeelding 2023-11-25 om 12 46 17

Z10 Mount Everest

quinncnl commented 7 months ago

TODO: Same rule should also apply to volcanos like https://www.openstreetmap.org/node/714354378#map=13/35.3590/138.7439&layers=P

quinncnl commented 7 months ago

volcano is aligned with peak. New rendering looks better and closing the ticket.