a-b-street / osm2streets

Convert OSM to street networks with detailed geometry
https://a-b-street.github.io/osm2streets
Apache License 2.0
101 stars 9 forks source link

Display OSM tags and muv JSON in lane popups, in a rather unergonomic #236

Closed dabreegster closed 8 months ago

dabreegster commented 8 months ago

way

The result isn't really legible yet, but it's a start. I'm rethinking what's useful to show in this popup, and whether the blank space in the left sidebar could be used instead.

CC @ginnyTheCat

ginnyTheCat commented 8 months ago

The extremly long list of access values on footways, cycleways etc. are currently because of the way muv handles cascading access rules. highway=steps + access=yes should not allow cars for example. I will soon change it to use access as a mask without polluting the access field.

imagen

dabreegster commented 8 months ago

Sounds good! We can always do some simple JSON rewriting on this end to display some things more compactly. If this current representation is easier to work with in the code, the serialized form shouldn't take priority

ginnyTheCat commented 8 months ago

It shouldn't be to much harder to implement if it works out how I imagine it. The main problem with the current handling, other than making the JSON longer, is that it doesn't work with with things like access:conditional=no @ (22:00-6:00) + bicycle=yes + foot=yes.