zlant / parking-lanes

Parking lanes viewer from OpenStreetMap
https://zlant.github.io/parking-lanes/
MIT License
77 stars 13 forks source link

Allow different viewer visualization based on direction, not condition #82

Closed tordans closed 2 years ago

tordans commented 2 years ago

Right now, the visualization view tells the story "am I allowed to park here (at this time) and what are the conditions?".

However, for a first mapping campaign the data about parking:condition is not feasible, since that is data that requires ground truth / survey, not just areal images. Instead, it would be great to have the story "am I allowed to park here (at this time) (and in what direction)?" visualized.

Quite a few areas in Berlin have tags like

parking:lane:left=parallel parking:lane:left:parallel=on_street parking:lane:right=perpendicular parking:lane:right:perpendicular=on_street

But nothing of that gets visualized in the viewer.x

I tried changing this logic myself in my Fork in December, but the change was too broad for me to get done. I fell back to just showing two lines per side, one for the existing visualization and another of the "direction", but did not finish this either.

zlant commented 2 years ago

Now free condition when only lane tag

tordans commented 2 years ago

Thanks, that change is a good idea which solves most of my issue.