Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render sac_scale, via_ferrata, via_ferrata_scale and ref for tracks and paths #66

Closed
Ircama opened this issue Dec 18, 2016 · 11 comments
Closed

Comments

@Ircama
Copy link

Ircama commented Dec 18, 2016

First of all congratulations for this great map!

Considering that traditional touristic topographic maps generally show mountain routes giving indication of difficulty, I’d like to check whether you are considering to render sac_scale for highway=path.

Would it be possible to add via_ferrata, via_ferrata_scale and sac_scale to opentopomap.style?

If I’m not wrong, I also see that text-roads-ref is also not used for highway=path and highway=track. Would it be useful to add this?

Thanks

@mboeringa
Copy link

Cross reference for potentially interesting discussion on Carto:
gravitystorm/openstreetmap-carto#1500

And some example rendering:
gravitystorm/openstreetmap-carto#1500 (comment)

@max-dn
Copy link
Collaborator

max-dn commented Jan 27, 2017

If it is possible to add via_ferrata, via_ferrata_scale and sac_scale:

I would suggest to render just 2 or 3 different kinds of pathes: "easy ways", "difficult ways" and maybe "ferratas". More than 3 different lines will be confusing.

  1. a "easy way" is a highway=path & sac_scale=NULL, T1-3
  2. a "difficult way" is a highway=path & sac_scale=T4-6
  3. a "difficult way" is a highway=path & via_ferrata_scale=1
  4. a "ferrata" is a highway=path & via_ferrata_scale=NULL, 2-6
  5. a "ferrata" is a highway=via_ferrata

(3.+4. because I know a lot of pathes which are normal walking pathes and got an short steel cable in the last years. In times of event oriented tourism marketing every valley needs a "ferrata [x]" checkbox)

Maybe its even enough to render two types, "easy" and "difficult and ferrata" to show "there you can walk" or "read a guidebook first".

@keenonkites
Copy link

Agreed that too many lines is not really helpfull, less is more.
But:

Putting a "ferrata" into a non "ferrata" category as proposed by Max with 3. might be dangerous as "ferratas" need proper preparation and most of the time also proper equipment.

The distinction between 1 and 2 is also "questionable": T3 can be definitely more than easy and it suggest that someone can just go and have a strawl on such a way.

I would rather suggest to have the same categories as the 'labeling' on the hiking signs in Switzerland:

  1. 'easy': T1: orange signs
  2. 'middle': T2-T3: white-red-white signs
  3. 'hard': T4-T6: white-blue-white
  4. 'ferrata': everything labled as ferrata

Going into more details in the ferratas is in my opinion not needed:

  • if it's a ferrata you have to consult proper route descriptions anyway
  • as ferratas are normaly in steep or very steep (if not vertical) area they probably have/give a wrong impression on maps, even when one is also considering the elevation.

@max-dn
Copy link
Collaborator

max-dn commented Jan 27, 2017

ok, forget 3. ;)

Having 4 types of pathes will be difficult. More colors could help, but I think a reduced use of colors and a rather thin rendering of pathes are important for this stile. Solid and dashed lines are used for tracks, so we only can vary width and spacing of dotted lines (or use cross hairs like in mboeringa's example).

@der-stefan
Copy link
Owner

Yes, I agree with @max-dn: The OpenTopoMap style should be similar to the good old official German map style. This style is quite black/white. I have no idea how they render alpine paths. Does someone have a old TK50 of southern Bavaria and scan it?

@mboeringa
Copy link

mboeringa commented Jan 29, 2017

Are they actually included on these maps?... This TK50 legend from Baden-Württemberg does not show any entry for this type of path:
https://www.lgl-bw.de/lgl-internet/web/sites/default/de/07_Produkte_und_Dienstleistungen/Galerien/Dokumente/Legende_TK50.pdf

This particular map from what appears to be an official Italian map series is one of the few real examples showing via ferratas based on a superficial Google search.

@max-dn
Copy link
Collaborator

max-dn commented Jan 30, 2017

Does someone have a old TK50 of southern Bavaria and scan it?

Old TK25 you can see on bayernatlas. Its a little bit hidden ("Thema Wechseln" -> "Geobasisdaten" -> "Historische Karten" -> "1:25000" activates an overlay and klicking on the map opens a chooser with some scanned TK25 from 1950-2007).

These maps have 2 kinds of pathes: "Fußweg" and "Pfadspur, Klettersteig" (example 1990). The second ones are something like "sac_scale>3 or via_ferrata_scale>0 or path_visibility<bad" in terms of OSM.

They were rendered like "------" for "Fußweg" and "--- ---" for "Pfadspur, Klettersteig" and on some maps its seems the map painter was free to vary the spaces "--- ---" to express difficulty.

Maybe something like ".......", "... ..." and ".. .."?

@der-stefan
Copy link
Owner

Old TK25 you can see on bayernatlas. Its a little bit hidden ("Thema Wechseln" -> "Geobasisdaten" -> "Historische Karten" -> "1:25000" activates an overlay and klicking on the map opens a chooser with some scanned TK25 from 1950-2007).

Dankeschön! This is fantastic! I did not know, they scanned the old TK25...

We can - of course - deviate from the TK25 map style, but should keep its spirit. I think it is a good idea of @max-dn with the different dashing or dotting. The challenge is that the paths are well visible.

@max-dn
Copy link
Collaborator

max-dn commented Mar 26, 2017

I need some feedback about my first rendering tests...

Thumb rule:

  • If there are gaps between the dots, the path is not easy
  • If you have problems to see the path on the map, maybe you won't find it on the ground.

Detailed rules:

  • pathes with sac_scale=T1-2 and via_ferrata_scale=0 are rendered like now (dots, no gap)
  • sac_scale=T3-4 and via_ferrata_scale=0: 3 dots and a gap
  • sac_scale=T5-6 and via_ferrata_scale=0: 2 dots and a longer gap
  • highway=via_ferrata or via_ferrata_scale>0: 2 dots and a longer gap
  • trail_visibility<="bad": 50% to 60% opacity

Ferratas and T5-6 have different rules, but are rendered in the same style. I didn't find a 4th morse code for a 4th class of ways and maybe thats ok. This map doesn't want to be a alpine hiking map and "gaps -> its not easy, long gaps -> you really must get more information" is enough.

The classifications T12/T34 are near to german topo maps. It's not like keenonkites suggestion "T1/T23/T456" like on signs, but I think the step from T1 to T2 is less important than T2-T3 (a matter of taste: T1 to T2 is "you may fall down", T2 to T3 is "you may need your hands"...)

Some examples (only zoom 14-16 available in a small area, there is a link to osm.org in the right bottom if you want to see the data)
northern part T2, then T5, then T4 to west
a mix of all kind of pathes
a mix of visible and unvisible pathes
invisible pathes in the woods
all kind of pathes in scree and wood

@der-stefan
Copy link
Owner

The pull request by @max-dn was accepted and the renderer should render the style now (may take some time for your tiles...). You can use this issue for further discussion if necessary.

@Ircama
Copy link
Author

Ircama commented May 4, 2017

Just wish to thank @der-stefan, @max-dn and all involved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants