-
Notifications
You must be signed in to change notification settings - Fork 824
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
stop displaying highway=footway and highway=path differently #1698
Comments
I think you're right. I like unifying to highway=footway by default to match steps (and when marked as paved) and showing as current path when unpaved. |
I'd also be in favour of normalizing highway=path into highway=footway or highway=cycleway depending on access/etc. @systemed does this, and he also tries to derive surface information based on other tags and rural vs urban. I'm not sure we'd want to go quite that far. |
Indeed - I use Lua to normalise (for example) highway=path into other highway values depending on access tags, or to highway=footway where there are no access tags present. |
It is already done currently for some cases (on bicycle=designated, horse=designated or foot=designated). Maybe it can be done also on bicycle=yes, horse=yes, foot=yes (also to cycleway/bridleway/footway). Probably it may be possibly to detect highway=path for weird transport types and stop displaying this type of highway=path (for example http://www.openstreetmap.org/way/80377055) Maybe ["highway"="path"]["foot"="no"]["bicycle"!="yes"]["bicycle"!="designated"]["horse"!="yes"]["horse"!="designated"]["access"!="no"] would work (http://overpass-turbo.eu/s/aDQ).
Can you link to this code? |
He's doing it in Lua and we'd be doing it in SQL, also he's handling a bunch of other complications we aren't. |
Yep, and it wouldn't be particularly transplantable in this case - I actually normalise to several different pseudo-tags which combine access and surface. But essentially the approach is that first I boil down relevant access tags for bikes into yes/no:
and then create a new highway value based on this and the current highway value together. |
I think most agreed on:
|
I don't get this. What is gained by detecting horse=designated (-> use bridleway!) and foot=designated? |
According to http://taginfo.openstreetmap.org/tags/highway=path#combinations there are over 285k highway=path with foot=designated. There are just 3k ways with horse=designated. I admit that I see no good reason to use highway=path; horse=designated and for foot=designated (except combining it with bicycle=designated - what anyway would result in rendering it as cycleway). Only highway=path; bicycle=designated; foot=designated makes some sense - and only because this variant is widely recommended and supported. |
Generally I support this as the footway vs path issue is frustrating. I do however do a lot of rural mapping and I come across many areas that have a clear "main" path and "lesser" paths. Both may be unpaved but the "main" path will be easier to follow (well worn so the route is easy to see, less overhanging branches so easy to pass). I'd like to know your view on rendering these differently. We render roads differently based on motorway/trunk/primary/etc so why not paths? When using a map to navigate rural areas an indication of the quality of the path would help. I appreciate that this may need a new tagging scheme as surface=* isn't really sufficient when both are unpaved! Maybe a start would be to render those paths that are part of a relation differently? |
Interesting idea, but not really related to this issue, as |
Please do not combine these! Path and footway is very different here in Norway. |
@Gazer75 The highway=footway/path distinction doesn't capture that difference well, though. In the UK, many footways resulting from people walking the same path over and over are tagged highway=footway. |
BTW: there is now a proposition on Tagging list to make footway definition more clear. |
Relevant keys may include trail_visibility, smoothness, sac_scale (hiking) and mtb:scale (mountain-biking). |
you can add informal=yes to these (i.e. cases that are not built on purpose) |
Well I just fear doing this will alienate all the trekking mappers we have in Norway. Probably half our mappers are doing this work in addition to other things. https://www.openstreetmap.org/#map=13/59.9615/10.7184 is a good example. @math1985 There have been the same problem in Norway as well, but I think the mappers have been fixing this. Wrong tags on stuff is nothing new in all aspects of osm. @dieterdreist adding more tags is just making things unnecessarily complicated. This is also a visual issue, not about tags. Doesn't matter what tags you add if the renderer is treating path and footway as the same. |
@Gazer75 in your example two paths I checked are tagged as unsurfaced. The cementery ways are footways without surface. Since the default is paved there will be a distinction.
That's an over-specific interpretation of path. |
Again the surface tag will have no bearing on the rendering if footway and path is to be rendered the same way. The interpretation work for us here in Norway so I see no reason to change that. |
As I was afraid of... some of the more active mappers in Norway are quite unhappy about this change. I have to admit Im getting close to quitting all work for OSM because of the idiotic changes done to the standard map. Its getting worse every day and things that actually would be a good thing is voted down by 2-3 people and thats it. So much for community map. Feels like its run by a few people that do what they want. |
Apparently, the new style now assumes that every path in OSM is surface=paved, unless surface is set to unpaved or some other value included in an unpaved box. I didn't see this discussion until today. Please reconsider your decision! |
First question is what the differences between As I think, in most cases they acts like classification for pedestrian routes.
We could look for physical differences, but they are not a key. The same way as for For vehicles , we have about 10 classes. From As good as You have hate-letters not because red-dots are better than black dashes. People frustrated because already rather narrow classification of pedestrian way, were curtailed for two classes Please, Mateusz, you've done a great job, but don't think about |
An easy way to see how path and footway is used when it comes to natural trails, is to look at how they are combined with the tags sac_scale and mtb:scale which are mostly used on natural trails. highway=footway 5.325.275 highway=path 3.894.488 Having spent hours analyzing the usage and the wikipages for path, footway, hiking, mountainbiking etc. I ended up with the same conclusion. Please bring back the old way of rendering path different from footway! |
I guess if we say that footway is kind of artificial (man made) road for pedestrians and the basic path is just some not built (made just by walking) road for pedestrians, we would have covered most of them right. The remaining problem would be then to treat "paths" that are just a mix of footway with something else (like for example foot+cycle) like something special, other than plain path - probably like highway=generic_mixed_way_for_engine-less ("A generic multi-use path open to non-motorized vehicles"). And it's perfectly doable. I think this change was unfortunate effect of one-way interaction with wiki definitions: proper rendering may need rewriting the definitions, not just wild guessing what is the meaning of what's already written. So for the moment I would step back, work with definitions, and only then come back to rendering. |
This doesn't sound like an "extreme" level of effort to me.
Yes, we did that, and found that while every mapper has their own opinions as to the difference between For example, mapper A marks two paths, one as So what we've realised is that given that after years and years there's no consensus as to what they imply, that it's extremely unlikely that anyone using the map can rely on those hidden implications. So instead of lots of contradictory implied meanings, we're making things easier for everyone, and relying on explicit, clear and certain differences. For now, we're using surface. In the future, we can add more tags, or decide that something else is more important than surface. But if you think there's some inherent difference between |
You claim that there is no consensus, but according to the discussion above, in quite a few countries (including mine) there is a consensus, following the guidelines from the OSM wiki. The confusion example of yours wouldn't happen in our parts of the world. The "extreme effort" i described above isn't extreme for one single path, but when you multiply it with the number of paths, then multiply it with the number of segments the paths will need to be split into (in order to tag correctly with surface, smoothness, width, etc.), and the number of hiking and mountaineering trips we would need to actually get those tags correctly placed, it becomes a lifetime effort for thousands of people. |
@pnorman So you don't think its extreme to split the trails into several hundred sections of maybe a few meters long to add proper surfacing? Thats never going to happen, trust me... The map is just more confusing for me with the combined render. It is impossible to know if the path is a built footway, usually gravel surface outside built up areas, or a naturally made path that is usually only about 0.5-1m wide. At least OsmAnd is still rendering them separately... |
👍 to @gravitystorm. Most of the assumptions here are specific to one or several countries. For example, saying that since highway=path is often used with sac_scale=* it must indicate a rural trail, is not helpful in countries where sac_scale is rarely used, such as the US or UK. (Funnily enough, the Schweizer Alpen Club is not a well-known organisation in English-speaking countries. ;) ) Please realise that, just because something works in your backyard, doesn't mean it works across the whole planet. To the best of my knowledge, I do more post-processing of path and surface tags for cycle.travel's rendering and routing than any other online data consumer. From bitter experience I can assure you that it simply isn't reliable to assume surface based on footway vs path. What you can do with a modest degree of certainty is look at the surrounding area. In a rural area, where a surface tag or similar is not supplied, both path and footway are more likely to be unpaved than paved. In an urban area, they are more likely to be paved. But integrating that into the osm-carto toolchain is unrealistic and introduces too much 'magick' for mappers. The correct solution is simply to add a surface or tracktype tag. Because OSM is iterative, you can use a general tag (surface=unpaved) at first, and mappers will later come along and improve it (surface=gravel, surface=dirt). So @anderfo, when you say
that's very easy: just search and replace 'highway=path' with 'highway=path, surface=unpaved'. Job done. |
OK, got it: US and UK are the core of the world and everything else is just a backyard ;-)
Mass / automated edits are forbidden in OSM. |
@gravitystorm and @systemed - How big parts of the world do you believe have this path/footway confusion? I've only heard of those problems in UK...not in any other country. So I wonder if it's a very local problem in your area, instead of the other way around. |
That's not true (there are specific rules, though). |
No, I didn't say that. Please don't put words in my mouth, it's not conducive to a good discussion.
No, they are not. There is a well-documented process for carrying out such edits. If you can convince the community that your edit is good, it will be approved.
If only that were the case, but no, highway=path is a difficult tag the world over. For just one example, one of my biggest rendering problems in France is that broad, adapted cycle trails are often tagged as highway=path; whereas in this case, the German-speaking countries and the UK are actually closer in practice, and they would be tagged as highway=cycleway or highway=track with a surface tag. So again, highway=path on its own does not give you a reliable indication of the nature or quality of the path. |
While this intuition was perfectly legit (I also supported it initially!) and I understand the urge to have something we can rely on instead of many different assumptions, here are some thoughts I have about it now:
I'm happy you think about the future, because current situation is not "stable" and I hope it will be resolved - this way or another. |
While that is true you should not forget that this is also the case for a lot of other features that are distinctly rendered in the map. The question is IMO not how many opinions there are on the exact meaning, it is how well defined actual use of the tag is. In case of path/footway this varies a lot internationally as well but regionally and in specific countries it is often fairly distinct what kind of features highway=path and highway=footway are used for when applied without supplementary tags. In light of this it is perfectly understandable if people think this difference should show up in rendering and it should not be considered irrational or without basis to desire such a distinction. One problem with supplementary tagging is that there is currently no established tagging for making the distinction between a built footpath and one purely established by use independent of the setting. The surface tag describes the material but not if this material is placed there by construction work or if it just happens to be there naturally. surface=ground could be considered to imply 'natural state' but in reality does not. surface=grass can also frequently mean both. And sac_scale specifies technical difficulty, an established path on a salt pan does not have this. You could of course go to tag all established, non-built footpaths with sac_scale=hiking but i am not sure if this is such a good idea. So the question maybe is more: how do the proponents of a unified rendering of footway and path suggest the difference between a constructed footpath and one merely established by use should be tagged? (i realized this is kind of off-topic here - feel free not to reply, but in general this is still a highly valid question IMO) |
Why on earth would you have to do that? A minute ago you were happily tagging many kilometers as one way tagged highway=path with an implied (to you) surface=unsurfaced. So nobody is asking you to split the way every few metres (as you've also said on the norwegian talk list).
Oh come on - this is becoming an unproductive discussion. |
👍 @imagico Thank you. This is what I have been thinking as well. There is barely any difference on paths with different surfaces now that I can see. And tbh that detail is probably best left for a more specialized map. But having a separation of a naturally made path and a built one was really nice. Knowing if a path or footway is natural or not will tell you quickly what footwear to use. Using footwear that you would normally use on a foot- or cycleway in the city would not be wise on a natural trail ;) |
I'm not going to suggest tags, and I'm not going to suggest that "constructed" is even an important attribute. After all, does it matter if a 1m wide smooth dirt path in a park was constructed 15 years ago by digging out the grass, vs a 1m wide smooth dirt path in a park that formed due to the passage of many feet? Would this difference ever be something to show on this map? I doubt it. The discussion can be widened out to be more or less like this:
In my opinion, yes it does. There's a wide variety of different types of footpaths. I note here, however, that many maps, even those using OSM data, including hiking-related maps, just show all footpaths in one particular style - it's not common cartography to have many different types of footpath renderings.
There's obviously a big choice here, from surface, width, smoothness, construction, technical difficulty, use in long-distance routes, visibility, legal status, accessibility, overgrowth, drainage and so on. Some of these are tagged in OSM, some very rarely. But since it's impossible to show all the different possibilities (there are several thousand combinations of just the above values), a cartographer needs to decide how many "buckets" to have, and then how to put each footpath into only one "bucket".
This brings us back to square one, where we realised that highway=path vs highway=footway was not in itself the best way to distinguish all the different types of real-world footpaths, as per (endless) discussions above regarding implied meanings. Of course, if anyone disagrees on creating buckets based on surface, fair enough. If you think that the buckets should be based on some other attribute(s) of footpaths, then make a proposal. [*] for the purposes of this comment "footpath" means all types of footway, paths, trails, etc in the general route-for-walking-on kind of way |
I agree to distinguish footpath rendering according to surface, but let assume that highway=path is unpaved and highway=footway is paved. The description on the wiki doesn't say that directly, but from the description of the path I have the feeling that it is per default more like unpaved than paved and from the description of the footway that it is per default more like paved than unpaved. Also the illustration images say so. If we agreed upon this then the descrition on the wiki could be improved afterwards. |
Place for discussion like this is on OSM wiki and/or tagging mailing list. Note that in cases where I think that it is beneficial I start such discussions - here I think that redefining tags with usage counted in millions is a poor idea so I will not propose redefinition of highway=path. For purposes of rendering - I think that treating highway=path and highway=footway differently is a poor idea, going against documented meaning. I am also currently working on change that is supposed to fix #1765 and #1766 |
+1
I don't see the number of usage as an argument against fixing definitions. It's maybe even more important to clean them as much as it's possible. |
If rendering will assume some defaults for path or footway, then I think it should be mentioned in the wiki. If definition of the path is unclear and everybody explains it differently then should we never fix/update the definition just because there are millions of usages in the OSM? |
According to the comments in here, we need some sort of alias for "highway=path, surface=unpaved" so that we can more easily map/tag ordinary paths. It feels just as redundant as adding foot=designated to a footway, bicycle=designated to a cycleway or trail_visibility=excellent to a motorway. But apparently some people think it is necessary. |
And it means nearly nothing - as this place is not a proper place for discussion about tagging. It is place to discuss how already tagged data should be used according to current tagging schemes.
I would happily reply to this question on tagging mailing list or OSM wiki - but not here. |
Not really - the statistics that @imagico gathered showed that, where tagged, highway=path has a paved surface around 25% of the time. Of course, many of the paths without an explicit surface will be unsurfaced, and probably more than 75% of those. But a significant fraction of highway=path are actually surfaced. Unlike trail_visibility!=excellent on a motorway, which is absurd and again not helpful to the discussion. |
If there are more paths without an explicit surface unpaved then why are all such paths rendered as paved? |
Issue #1766 is about default surface assumptions, not this one. |
At this point we're just circling around and not getting anywhere productive. A couple of closing thoughts: OpenStreetMap Carto is not removing the difference between We are not impacting people making their own maps. In fact, if the current rendering leads to increased use of If we were to re-introduce different renderings for Edit: Missing word |
@pnorman - errata:
"are rendered differently" should be "are not rendered differently". |
In theory highway=path may be nearly anything, in practise it is used mainly as
(1) equivalent of highway=footway; footway=unpaved
(2) equivalent of highway=footway
(3) with both foot=designated and bicycle=designated, interpreted as combined footway and cycleway (may or may not be segregated)
(4) to indicate that it used by pedestrians but this feature was not constructed with intention to be used by pedestrians
(5) with bicycle=designated, interpreted as equivalent of highway=cycleway
(6) rare features like mountain bike trails
Overall difference between highway=path and highway=footway is minor compared to other features and huge difference in rendering is not justified.
Maybe it would be a good idea to render for example mountain bike trails differently but highway=path/footway difference is not allowing to detect cases like that.
Differentiation of styling would be better based on surface tag what would encourage proper mapping rather than selecting tag that renders like something paved/unpaved as it is done currently.
Such change would basically mean that attempt to use highway=path for highly varied features is considered as failed and it encouraged treating it as duplicate of highway=footway.
I tested my region (with highway=path typically used in tagging for renderer to indicate surface=unpaved) with unified rendering (with highway=path/footway using current style for path and later using current footway style for both). Overall, I was surprised by limited negative effect and how noticeable was improvement due to stopping of representing two nearly the same things using the same style.
I think that unified to highway=path map was prettier and unified to highway=footway style it was more readable.
Code is available at https://github.com/matkoniecz/openstreetmap-carto/tree/to-footway and https://github.com/matkoniecz/openstreetmap-carto/tree/to-path
examples of before/after
to footway style:
https://cloud.githubusercontent.com/assets/899988/8944927/b5ffd00c-3583-11e5-81a6-763221f43786.png
https://cloud.githubusercontent.com/assets/899988/8944929/b6031c6c-3583-11e5-8ec7-704b6e51e39f.png
https://cloud.githubusercontent.com/assets/899988/8944928/b6023acc-3583-11e5-8bb7-46880d5adc1a.png
https://cloud.githubusercontent.com/assets/899988/8944930/b605ec62-3583-11e5-8dc7-78df3515619f.png
to path style:
https://cloud.githubusercontent.com/assets/899988/8944942/c3b777a4-3583-11e5-8670-d6d1bf57639e.png
https://cloud.githubusercontent.com/assets/899988/8944945/c3f81b92-3583-11e5-8afd-b5f7ffd98eeb.png
https://cloud.githubusercontent.com/assets/899988/8944944/c3f80d1e-3583-11e5-8d8b-b1b8c3ea2609.png
https://cloud.githubusercontent.com/assets/899988/8944946/c3f919b6-3583-11e5-83ea-1825a928840b.png
It is next part of road redesign that I think may be considered independently.
This idea was proposed in https://www.openstreetmap.org/user/Mateusz%20Konieczny/diary/35389 (section "highway=path, highway=footway problems") and discussed a bit in comments.
The text was updated successfully, but these errors were encountered: