Bicycle road/street rendering #192
Replies: 8 comments
-
Brief follow-up comment on this: there are at least 6 different types of cycle infrastructure as shown below. Source: Tait et al. (2022) There's a balance to be struck between the benefits of simplicity and the benefits of capturing as much as possible about the urban environment. There's definitely an issue though, IMO: A/B Street is not picking up on bicycle:designated, right? Confirmation that it's rendered as a regular street with the new osm2streets tool, so handy: |
Beta Was this translation helpful? Give feedback.
-
I guess what's missing from that list is 'bicycle street', a 7th category? |
Beta Was this translation helpful? Give feedback.
-
I'll give more background later, but in short, this is definitely the right time to finally fix this sort of thing. Main thing I could use help with is figuring out a style/color scheme to distinguish all of these different cases. One idea for shared walking/cycling paths is from https://strassenraumkarte.osm-berlin.org/?map=micromap#20/52.50012/13.41423: Another possible source of inspiration is https://www.cyclosm.org/#map=18/52.92813/-1.48741/cyclosm, which shows a whole bunch of categories. |
Beta Was this translation helpful? Give feedback.
-
Besides the style the most confusing things to me are the missing bicycle_road = yes rendering, showing a 2 lane/both direction rendering when it's only oneway/1 lane (this also should take care of oneway roads that are allowed in both direction for cyclists (like https://www.openstreetmap.org/way/1082585252#map=21/53.14092/8.20710&layers=C) and the fact that the OSM Pedestrian Street Feature Type gets rendered as bicycle lane. In regards to the style the OSM Strassenraumkarte might be a good example, but it's work-in-progress afaik (@tordans?), so probably not as much complete as cyclosm or other cycling specific map tiles/styles in OSM. In Germany we use red, blue and green for different types of cycling infrastructure, but this might be even different between states. Just using one color (the green) seems very "prominent" to me and red woud be a better macht, but I can't tell what would work internationally if you prefer to stick to just one color. |
Beta Was this translation helpful? Give feedback.
-
FYI, the Straßenraumkarte (which is "finished" in the sense of a stable bug free release) has a different goal, which is to build a "naturalistic" representation of the ground truth as a 2D map. Which means, it uses color when there is color asphalt; not to represent osm tags/categories. The foot-path are a deviation from that in order to get give them some kind of visibility. This is a nice – and tricky – example for this topic: Weigandufer, Neukölln, Berlin
About the colors: IMO a good starting point is what cyclosm did and take the default bike lane color, paint the whole road and dim the color a bit. When I saw it first I thought it a bit much, but it does communicate the type of infrastructure quite well. |
Beta Was this translation helpful? Give feedback.
-
BackgroundI just wanted to back up first and explain why all of these cases show up strangely today. Early on in the project, the priority was making the traffic simulation work in different situations, but in the areas I was focused on, importing separately mapped footways wasn't an option (due to big inconsistencies in data quality and troubles logically associating the sidewalk with the "main road" for the simulator). It was more important at the time to make sure the cycle network was imported somehow. So for shared-use cases like https://www.openstreetmap.org/way/24328181 and many others, the interpretation was this: In reality, this is one "lane" that's bidirectional and shared by cyclists and pedestrians. But there's not yet a way of simulating bidirectional movement on one lane or making cyclists pass around pedestrians (see a-b-street/abstreet#139 for not-yet-attempted ideas). So in the meantime, I model this as 4 lanes -- 2 for pedestrians, 2 for cyclists, 1 in each direction. What's changed
What we need to figure outIt feels like 3 things:
Rendering choices
There are some decisions to make here. The current choice of green bike lanes and red bus lanes: I would very much like to change the styling based on locale. But it gets complicated, as mentioned in Germany. In London some cycleways are blue but others are just regular asphalt colored, though fully segregated. In some cases, the "on-the-ground" color scheme is desirable. In others, a schematic to call out lane types would be better. What if we punt on this issue and just start supporting both, ie, by changing this code in the new JS rendering layer? The lane properties could also start exporting the on-the-ground actual color, and a later part of the code can decide what to show. SeparatorsI'll mention that different types of segregation are partly supported now: |
Beta Was this translation helpful? Give feedback.
-
Just a minor comment : if a special treatment of bicycle_road=yes were to be implemented, apply this as well to cyclestreet=yes. This tag bundles extremely similar concepts, that do vary from country to country. |
Beta Was this translation helpful? Give feedback.
-
That would be amazing and I can see big potential for community contribution and crowd-sourcing designs for these:
One addition to this would be 'armadillos' or 'orcas' of the type found on Torrington Place: Also on Torrington place, and to be more mode agnostic, how about bike parking lane, common in the Netherlands and possibly needed in many places, tiny section of that shown below: |
Beta Was this translation helpful? Give feedback.
-
This bicycle lane rendering always seems weird to me. Despite the visual representation there also seems an issue with detecting/marking the actual infrastructure itself.
A few examples:
This is an actual bicycle road with proper tags in OSM: https://www.openstreetmap.org/way/10575838
In A/B street it renders like a usual street/highway. Since it's dedicated use is cycling I'd expect it to be rendered like that (by its primary use).
This path here https://www.openstreetmap.org/way/32916454 on the other hand is just a regular path (no street) where bicycles and pedestrians are allowed, but it renders as bicycle lane in A/B street. For shared uses I'd render this as footpath.
A/B street seems to show everything with bike alloance as type "protected bike lane", which doesn't seem right.
Nodes with "oneway:bicycle" tagged render the green bicycle lane in A/B street in both directions. Example: https://www.openstreetmap.org/way/102442321
There are also some minor issues like the rendering of streets in a pedestrian zone (highway=pedestrian), these also render as bicycle lanes. Example: https://www.openstreetmap.org/way/17071901
Generally speaking everything bikeable seems to be rendered as "protected bike lane". This might be ok where the bicycle is the only dedicated use, but for shared uses (pedestrians) this seems wrong.
Beta Was this translation helpful? Give feedback.
All reactions