Consuming highway=path

I think many consumers of openstreetmap data are not aware of the breadth of what highway=path can represent. Examples from the last weeks:

Perhaps the documentation is not upfront comprehensible and in need of change? I imagine something like an ambox?

Consumers beware: A path in OSM can be 2+m wide and paved with asphalt or a MTB downhill or just the idea of a single mapper, where to pass some pathless non-trivial terrain the most easily.

Obviously, the talking community at large is split 4:6 whether latter features should be represented by highway=path at all. Yet consumers mostly just render everything 2m wide an paved, there was a topic on 3D showcasing that measurably, but e.g. Minutely updated vector tiles demo goes the same way.

3 Likes

The title of the above thread is misleading. There are a lot of people that could ride that with a mountain bike or a off road motorcycle. A lot of the mountain bike trails here in Colorado (US) look like that and they do get ridden. Most are formal trails managed by USFS, BLM, or state/local authorities. I would definitely map what is pictured as highway=path, with the appropriate other tags.

1 Like

I understood the problem of poster there, how to tag this such that not-niche-field consumers avoid it.

1 Like

I think that question has already been answered regarding the mountain bike trail:
highway=path
mtb:scale=3 (hard to tell without seeing the entire trail and riding it, but looks like that to me)
bicycle=yes (if legally allowed)
informal=yes (if that is the case)
smoothness=horrible (good suggestion from @ezekielf)

Agree with you that documentation for data consumers could be improved.

1 Like

Why should a general purpose or a pedestrian router consume secondary tags like informal=* or mtb_scale=* – They have to be made aware of that. Even people with lots of OSM experience fail to parse those.

My suggestion above deliberately did not list all those attributes. I am not in a position to list them.

PS: Paths with no attributes also common. Perhaps also mappers need to be made aware of these attributes?

So they don’t route someone riding a road bike on a mtb:scale=3 trail? Also, a pedestrian router should consume sac_scale.

Yes, we need to do better.

4 Likes

I wish I could be as brief as @tekim

Basically OSM tagging is not clean when it comes to trails. I wrote up some thoughts on that over four years ago when I was trying to improve my hiking maps.

Since I wrote that some have proposed highway=scramble to help in some situations but I don’t think that has gained consensus yet.

At the very least a surface=* tag ought to be put on any highway=footway or highway=path. Additional tags like width, mtb_scale, sac_scale, visibility, etc. all can help a data consumer muddle through and give better routing for the specified traffic (foot, wheelchair, mountain bike, etc.). Even if you are not an avid hiker or mountain biker you can probably make an estimate of the width, what the surface is.

2 Likes

I agree with your points in general, but bringing the vector tiles demo into the discussion may be a distraction. Currently it renders highway=footway the same as highway=path, as a relatively wide white line. So I don’t think the specific problems of highway=path are the issue here.

2 Likes

highway=path is used for a wide range of features.
All are slow connections for foot, many also for bicycle and/or horse, some also for small motorized vehicles.

Differentiating is done using attribute tags for access and for physical characteristics.

I think it is important to agree on, and explicitly describe, the (world wide) defaults, not only for access but also for the physical characteristics. To be used for rendering, routing, and issue-detecting QA-tools.

Mappers will know what will apply when only highway=path is tagged. Everything that is significantly different from the defaults, should be tagged with extra tags.
Especially when people state “but in our country/region/terrain, paths are always/legally/practically …, so that is the default and we don’t tag it”, that’s when it should be tagged explicitly, because it differs from the world wide OSM defaults.

5 Likes

It also doesn’t render highway=track at all yet because it’s just a tech demo, so whatever it does is irrelevant to this discussion.

2 Likes

I did start this to gather ideas, how to do better.

It is just exemplary, consumers start with an assumption, streets.gl is another. This then stays forever. Mapbox outdoor, Maptiler outdoor – all paths the same in them. They are not new.

1 Like

highway=track are rendered, but many are missing because the import was buggy at the beginning. However, modified or newly created highway=track should be displayed:

1 Like

I don’t think that this is an example of that. It’s mostly a tech demo of “minutely updated vector tles” (which is “the hard bit”). It’s not supposed to be a tech demo of an OSM schema and a display style (very much the “easy bit” in comparison).

If you want to have a look at the schema and display style used in this demo, have a look at a diary entry I wrote a while back. That doesn’t describe minutely updated vector tiles, but instead is using Tilemaker to create a static set of shortbread-schema tiles.

It’s written a bit like the switch2osm guides so that hopefully other people will be able to follow what’s written there, and it’d be really useful if people did experiment - they’d then have experience of what some of the trade-offs are, such as “more tags, bigger tiles”.

Others consider the demo much more ambitious

Apart from that, the highway=path documentation shows a dirt path for ages, and consumers still render any old path as paved - The “demo” mimics mapbox style, in my eyes. The line with casing can only be understood as representing something constructed.

BTW OSM-Carto has three signatures for pedestrian paths. They are based on surface: paved, unpaved, unspecified. Differences are hard to spot though.

Curiously, americanamap does not show any pedestrian or cycling ways, nor tracks at all.

A big thank you to @n76 – great primer on the intricacies of consuming pedestrian information.

In the area where I map, footway is reserved for mostly urban municipal infrastructure while back-country it is all path. But as @alan_gr notes this does not hold for all of the world. Title of topic needs change?

Did I note that somewhere? In this topic I merely mentioned that the vector demo map doesn’t distinguish between path and footway, which doesn’t seem to be the same point.

As it happens though, where I map it is much the same as what you describe. Even though the wiki documentation for footway doesn’t really confine it to urban infrastructure, that seems to have become the convention in many places (I am unsure if there are regions that take a systematically different approach). Perhaps this happened partly because none of the photos in the footway wiki show rural situations, or because footway is often linked to signage (blue circles).

Generally when I map highway=path myself there are no signs at all and it’s hard to know if the path is intended for, and used by, road bicycles, MTB, and/or horses. So I use a vague tag to map vagueness in the real world. (I do try to add surface and other tags though).

(Incidentally you have quoted three of us as using the word “demo”, but you were the first person to use the word - I literally copied it from your original post).

2 Likes

It sounds like you’re assuming that what that tech demo shows (minutely updated vector tiles in Shortbread schema, interpreted on a web page by Versatiles Colorful) is what “vector tiles on osm.org” would look like.

I don’t think that anyone has ever said that, and I’d be surprised if that was the case. Exactly what is planned I don’t know, and that’s a matter for (I suspect) the OSMF and the EWG with regard to what money is made available for what work.

Nederland has many non-urban footways, e.g. in managed nature reserves and in private areas open to the public. Most of these foot paths have a footway sign or comparable, some are only recognizable as footways because you pass a kerb or a fence/gate that is intended to let only pedestrians pass. (Usually they grossly underestimate cyclist’s skills to pass these “barriers” … been there, done that). Alternatively, one might see Nederland as one middle-sized urban area; then the “confined to urban infrastructure” rule of thumb holds up.

Not very relevant to consuming highway=path, I’m afraid.

I linked to the forum topic, and the term is in the title. There is no emoticon “blush” available, so I put up a bright smile. While demo still, held with high hopes by some.

If I did misquote you on the footways, please apologise. I was thinking, you are right, this not only applies to path, this applies to footway just the same. If I remember correctly, in Australia footway is used outside urban sphere, a bit of overpass did yield Way: ‪South Coast Murramarang Coastal Track‬ (‪696854537‬) | OpenStreetMap

I looked up how single-trails are mapped here: path plus mtb tags. And yes, bicycle=designated - on the official ones.

All three bicycle routers available on the openstreetmap.org website route cycles over there. Some more, some less.

This does not mean, the detail/niche tags are of no use, e.g. cycle.travel does not route there. At least somebody we all know has spent the necessary effort in consuming highway=path.

1 Like

Here are two foot paths. One is in a very rural area. The other is in a park in middle of a very dense urban area. Does that make one highway=footway and the other highway=path? Can you tell which one is which just from the images?