Is there consensus on mapping pavements (sidewalks) separately to roads?

I want to emphasize this also goes the other way around.

I often see people “painting” separate sidewalks and breaking pedestrian routing, because it’s hard to get all the little connections right that are needed therefore.

7 Likes

Personally, I map sidewalks separately because I’m often trying to improve pedestrian routing. I use e.g. BRouter’s hiking-beta algorithm, and look for places where it doesn’t send me where I know it should be able to, and then add sidewalks and connections as required. It can sometimes make for cluttered rendering, but I think that’s a matter for the renderers to sort out (and some of them do very well).

10 Likes

As of 2022, there is no consensus.

A core reason for this situation is that both commonly used approaches lack the ability to capture some important knowledge about the world: Tags on the main highway=* cannot faithfully represent sidewalk geometries (and struggle to represent details such as barriers on sidewalks), while separate ways fail to capture the information which road a sidewalk belongs to. As a result, either choice makes some use cases of OSM data much harder or impossible to implement.

Notably, this means that – contrary to the answer by @drolbr – neither of the approaches has a higher level of detail than the other: Both are omitting information which would be readily available with the competing approach.

I believe that a sustainable consensus will require a solution that works for all use cases and doesn’t force mappers to choose the lesser evil. I expect this will involve mapping sidewalks as separate geometry, but expressing the relationship to the road in a machine-readable fashion. Some solutions have been suggested (e.g. the is_sidepath:of:name=* tags), but so far, none have gained traction.

14 Likes

I expect this will involve mapping sidewalks as separate geometry, but expressing the relationship to the road in a machine-readable fashion. Some solutions have been suggested (e.g. the is_sidepath:of:name=* tags), but so far, none have gained traction

there is also the proposed relation type=area (relations can express the relationship between parallel ways unambiguously, but it means we would need a relation for every road)

From my point of view, the trend will go towards separated path geometry, as the map detail level will more and more increase and also the routers capabilities will follow this trend.

4 Likes

As a developer of both rendering and navigation software, I can attest to this tradeoff. Sidewalks need to be associated with roadways for pedestrian navigation using wearables and especially for assistive technology for visual impairment. The latter use case relies exclusively on voice guidance, so the street name is essential, but so is accurate data about obstacles. I’ve seen at least one wearable application configure Valhalla’s costing model to avoid sidewalk ways just to get road names in voice guidance, but it’s clearly suboptimal.

Despite this tradeoff, I lean in favor of separate ways. Tags on ways are inherently incapable of representing geometries effectively, whereas the problem of associating sidewalks with roadways is hopefully solvable. In regions like mine where sidewalks are generally separated by a curb or verge, if someone is willing and able to draw separate sidewalk ways, I think they should be encouraged to do so. Eventually someone will have to draw the ways anyways, so we should take advantage of that zeal when it arises.

Some cities have been adding name or street:name to sidewalks. In principle, data consumers should be able to infer that the sidewalk and roadway are related by comparing their names, in much the same way that Nominatim matches addr:street to road names or Skeletron generalizes dual carriageways based on road names.

I suspect this approach hasn’t caught on more broadly because of the assumption that data consumers can already infer these associations based on geometry alone, or maybe based on sidewalk=separate. Unfortunately, a typical city abounds in cases that violate this assumption, requiring a more explicit approach.

As a counterpoint, if the sidewalks are only tagged on the roadways, a non-sidewalk footpath would also need virtual connections with roadways to avoid breaking pedestrian routing. Here are some trivial examples of non-sidewalks that would result in oversimplified routes if connected directly to a roadway without separate sidewalk ways:

Long ago, I started out using the sidewalk key exclusively. Over time, I discovered a steady stream of these edge cases, each one necessitating an oasis of more detailed mapping, until the point where it just made common sense to link the oases together with separately drawn ways.

7 Likes

Just to be clear - you’re saying that it isn’t legal to walk from e.g. https://www.openstreetmap.org/way/1050626633 to https://www.openstreetmap.org/way/1050626542 without going via Allegro Lane? That seems totally bizarre**. I can understand you wanting to model kerbs etc., and need “sidewalks as separate ways” for that, but what you seem to be saying here is that there is no alternative route?

** silly examples do exist of course - in the cycling world https://www.openstreetmap.org/way/303553186 is a link between a route along a main road and another cycle route, but relies on people either cycling along a busy main road for a bit or leaping up a kerb and across a few meters of grass.

1 Like

Technically, taking a shortcut across Abby Way would require trespassing on private property (the verge), followed by jaywalking. Obviously, this is quite pedantic next to a park in a quiet subdivision, but the laws are on the books. Anyhow, the legalities matter less than telling the user something helpful. A mapper could sarcastically tag the whole park as a pedestrian area if no sign forbids walking on the grass, but the reason someone would consult a map or a router is to know where one is expected to go, whether they end up listening to the router or taking a shortcut.

I understand that jaywalking is a completely foreign concept in some countries. But putting that aside, hostile architecture and facepalm moments are surprisingly common in many parts of the U.S., where pedestrian infrastructure is often built for reasons other than facilitating travel on foot (like aesthetics). The #sidewalks channel in OSMUS Slack is a perpetual blooper reel. Hopefully this helps to explain why there’s so much enthusiasm for mapping sidewalks and crosswalks in greater detail.

Highland and Madison Canary Lane Nantucket blocked

8 Likes

Technically, taking a shortcut across Abby Way would require trespassing on private property (the verge), followed by jaywalking.

around here the verge is “always” part of the legal highway property

I understand that jaywalking is a completely foreign concept in some countries.

how many countries are there that have this concept? From a European perspective, apart from motorways, it is indeed a very foreign concept, and I would be astonished if the situation was different in Africa or central Asia.

Usually you can cross the street anywhere, maybe not in theory if there are signed crossings in the proximity (like 100m), depending on the jurisdiction

As creators of a detailed cycle routing engine, we support the use of separate ways.

Fundamentally, a separate way makes it easier to give more detailed information about the path, e.g. width, surface, etc., and more accurately reflects the reality on the ground.

However, it must be done carefully, e.g. proper connectivity, ensuring street names are included, etc.

The question of separate paths is addressed in significant detail in our State of the Map 2019 conference talk:

10 Likes

Great talk. I watched it a second time. Has your thinking on the street area and junction area ideas evolved at all since then? Is the area:highway key moving in this direction?

As a European who has moved to the United States 11 years ago, I can attest to the peculiarities of U.S. pedestrian infrastructure from a European perspective. Just a couple of examples:

When I moved here I was a strong proponent of mapping sidewalks as attributes on the street. Don’t make things more complicated than they need to be. I quickly changed my mind. Someone already mentioned that mapping sidewalks as attributes creates a need to split ways into tiny segments in some places because the random nature of sidewalk coverage. Access limitations further complicate this: some sidewalks are wide enough (and with high enough quality of paving) to allow for wheelchair access, but very often this is not the case:

15 Likes

Great talk. I watched it a second time. Has your thinking on the street area and junction area ideas evolved at all since then? Is the area:highway key 1 moving in this direction?

Yes, the area:highway and area:highway + junction=yes tagging schema are looking very promising. The existence of area:junction would be preferable though.

The excellent work here vindicates the benefits of adding area-based mapping to supplement the existing linear data:

3 Likes

Those excellent examples from Martijn van Exel show why you can’t really produce really good pedestrian routing without such detail.

3 Likes

I have a personal rule I follow at the moment for when, or when not, to add a sidewalk. “Is the road generally safe to freely cross at any point?”

Given this rule, where the road is quiet (typically highway=residential) I map sidewalks as part of the main highway using tagging like sidewalk=both.

For busy main roads, knowing exactly where to safely cross, and how to navigate around, is much more important. See this part of London for example, where there are plenty of footpaths around a busy flyover junction, but pedestrians need to know where they are. As such, I use highway=footway, footway=sidewalk (or footway=crossing) and surface=paved (etc). And always add sidewalk=separate to the main road itself.

I also always try to map highway=crossing, crossing=unmarked, crossing:island=yes/no, kerb=lowered/normal and tactile_paving=yes/no at all places where the sidewalk meets a road greater than a service road.

Where you need to end the separate sidewalk and just make an artificial link to the road, I recommend marking that small artificial link with footway=link (and ignoring any validation errors).

1 Like

Presumably footway=link is not rendered on osm.org? It doesn’t seem to be supported by any common (routing) applications, so I’m wondering what the value is of creating these?

1 Like

It is rendered, because footway=link has to be combined with highway=footway. It just describes what subtype of footway it is, similar to footway=sidewalk or footway=crossing.

1 Like

Link footway was added to represent the understood paths a person would follow between two otherwise disconnected pedestrian networks. It can be used to explicitly connect pedestrian and street networks in a consistent way that a router could use. Parking lot transversing and be ability to move from a mid-segment kerb cut to a car stopped in the normal flow of traffic. Iit is also used to connect a lenght of sidewalk to the road when there are no surrounding footways on the other side of the street.

I’m mostly interested in cycling infrastructure. In England, most cycling infrastructure that isn’t shared use paths in parks consists of shared use footways (pavements/sidewalks) parallel to roads. Therefore I map many paths alongside roads which are also tagged as footway=sidewalk.

For the foot-only sections, these days I tend to only map it if the way is complex, or if there is a something like a staggered crossing, where I would need to stop at least twice when crossing a road. As others have mentioned, I think it’s important that, if mapped, footways are joined to roads in a realistic way. These days, I try to tag the kerbs separately to the crossings (i.e. the kerbs are situated on the link between the road and the footway, and the crossing is a node where the footway joins the road way).

For shared use paths, I always map these separately as highway=cycleway or sometimes as highway=path (especially if they are shared use with cyclists, horses, and pedestrians, but not a Public Bridleway).

Quoting from a posting I made to the talk-gb mailing list:-

This is one reason why I disagree with people who delete cycleways and replace with a generic cycleway=track on the road. The data on dropped kerbs, inaccessible barriers, and dismount sections are lost. The late Heavy Metal Handcyclist https://twitter.com/CrippledCyclist used to post on Twitter on how they would get councils to remove such barriers (their cycle was their mobility aid). From my point of view, having my pannier bags full of shopping or stuff for my holiday means I can’t just dismount and push my bike over a raised kerb, and getting round narrow gaps in barriers is impossible. Similarly, people tagging non-cyclable ways as bicycle=yes makes journey planning problematic.

  • Many shared use paths have barriers - as mentioned above, these can affect whether or not I can get through with full pannier bags. I can imagine that someone with a cargo bike or a cycle as a mobility aid would struggle with most of the barriers installed on shared use paths.
  • Sometimes the kerbs are not dropped where the path meets a road
  • Sometimes they have sections marked with “Cyclists Dismount” signs (someone using a cycle as a mobility aid may be unable to dismount).
  • A shared use path alongside a road won’t be affected by the traffic lights on the roads (although a fully segregated cycle track might have duplicate traffic lights at junctions or for pedestrian crossings).
  • Similarly, a shared use path will have different traffic calming to the road.
  • A shared use path will lose priority at side roads, and all those crossings reduce safety compared with cycling straight along a road where you have priority over side roads.
  • The shared use path could be sufficiently far from the centre line of the associated road that a sat nav would be continually bleating that you are off course.
  • Getting from a shared use path to a road on the opposite side of the road can be a challenge if there’s not a crossing - I really need a dropped kerb in order to access the road from the shared use path.

All this information is lost with “cycleway=track” on the road.

Jon

1 Like

The issue here is not only legality, but also accessiblity. Many people moving with assistance of wheelchairs, or other walking assist devices cannot just decide to cut across the verge and curb and go where they want, even if it is legal.

2 Likes