andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
180 stars 25 forks source link

Hiking Style Stipple #78

Closed hungerburg closed 5 years ago

hungerburg commented 5 years ago

The current rendering of hiking paths highlights the most inconvenient ways.

Screenshot_20190923-135350

The effect of trail_visibility on stipple in Trekarta is reversed to what printed maps of the Alps usually do to indicate sac_scale: the longer the stipple, the easier the path, shortest (just dotted) are alpine routes with no visible path on the ground. Would you be willing to adopt this tradition in Trekarta, so that long stipple becomes good/intermediate and short stipple bad/horrible? I guess that should make a lot of people feel at home immediately.

Stipple also makes lines more prominent because of the white intermediate colour - can this be made transparent instead, or will they become too hard to spot then? Or could you draw stippled lines a little less wide or continous lines a little wider to counter that effect?

PS: Thank you for the good work!

andreynovikov commented 5 years ago

Yes, white is used to make them visible on various backgrounds, otherwise they will be hard to spot. As for stripples - unfortunately I can not make white and color parts of different length, they have to be even. In other maps long colored stripples are combined with short transparent/white stripples. This makes them look like "visible". In my case I've used long transparent/white stripples to indicated poor visibility.

I will think about that.

hungerburg commented 5 years ago

Actually, I like the white background on stippled paths. The more there is white, the better it can be seen, most of the times. And a longer stipple makes more white.

To aid your deliberation, I patched styles/inc_hiking_routes.xml - bad becomes stipple 8; default becomes 24, intermediate remains 16, excellent gets width 6 to account for no-white.

Screenshot_1569323219

PS: maybe map data changed in between the screenshots, but I think it shows the difference quite nice