Open planemad opened 8 years ago
Summarising the insights from the design sprint that I will try to take forward:
The proposed design that we can explore further, since data-driven styling is now available for icon-rotate:
Specific feature requests in this design: (Will sync up with @ajithranka & @planemad on what to prioritise)
from
, via
, to
and highlight no
vs only
ways.via
node that have been added already on OSM.To do on this design:
I spent some time with @srividyacb in observing how she is mapping/verifying Turn Restrictions. Key insights:
I’ll be looking back at this again with fresh eyes to explore what can be the actionable steps from the observation.
Here are the details that I noticed during the shadow exercise:
Some prior art: http://restrictions.morbz.de/# which helps visualize OSM turn restriction. Its not very clear which are the from and to members at junctions with multiple restrictions.
Based on voice w/ @planemad & @ajithranka.
We need to style the following restrictions visually to implement the original style, however the properties in bold aren’t available for data-driven gl-js:
way
from
: line-color, line-width, line-gap-widthto
(no_restriction): line-color, line-width, line-dasharrayto
(only_restriction): line-color, line-width, line-dasharrayvia
: line-color, line-width, line-dasharraynode
via
: circle-color, circle-opacityFor now, we’ll use two layers for way
(one layer for from
and one layer for to_no
, to_only
and via
— differentiated by color) and one for node
Design tasks that I’ll be looking at today:
Updated the style to a simpler one which has the same properties for all to
& via
ways as discussed above:
However, @ajithranka felt that we can retain individual layers for each case, so we’re sticking to the older style (with a few tweaks).
@rasagy we now have turn restrictions loaded dynamically after z14. The style is not really legible against the dark background.
Spot the OSM restrictions
cc @ajithranka
@planemad Agreed, synced up with @ajithranka on the same. I’ll be reworking the style since I was using Mapbox Light as a base map & this map is a mix of dark + satellite view. Also need to sync up on prioritising some features, will put down my ideas and then chat further on this.
👍 on using light
Based on the discussions, these were the action points:
Based on discussion with @bsrinivasa, hiding the old TR style on zoom>14, and for zoom<14 showing only the via node styled in the new color scheme so we still get an overview.
PS: Once the new styles are pushed, we’ll share a documentation of the style with the team and add it to the wiki for the tool.
Hi @mapbox/india-office,
We’ve been working on updating the osm-navigation-map style to reduce the clutter & noise.
Specifically:
only
and no
restrictionsHere’s how the new design is looking:
Overview:
Zoomed in view:
No left turn (from: yellow, via: red node, to: thin dashed red)
Only right turn (from: yellow, via: blue node, to: dashed blue)
Would love to hear if this is working or not, and what is hindering our workflow on this map. :)
@rasagy loving this, definitely makes it visually simpler.
@planemad Thanks!
A big help will be a small graphic legend to help interpret turn restriction representation. Since it is new, the colors and symbology are not really intuitive for a mapper (This could be on the readme for now)
Makes sense. If there are no other changes by tomorrow, then I’ll update the instructions.
Did not notice the dashes in the blue, seems to have a smaller gap spacing than the red
The idea was that the red way is something you can not drive to, so it is dashed, however the blue way is something you can only drive to, so it has minor gap. I was hoping to keep all three way line styles different (not just color), hence this approach. If this is more confusing than helpful, then I can see if increasing the gap or removing gap altogether helps.
@bsrinivasa pointed out how at high zoom levels, the validation orbs clash with the via nodes (red & blue). Updated the map so the via nodes are enlarged only after z12. Thanks Bharata!
Showing existing OSM turn restrictions on the map help to easily compare with Mapillary restrictions and add/update the data onto the map.
Current styling of OSM turn restriction
from
via
andto
members in red@rasagy can you review the issues with this styling from a reviewer perspective and post your notes on how it should ideally look?
cc @andreasviglakis