openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.38k stars 1.21k forks source link

Parking alongside streets (parking:lane) #6178

Open tordans opened 5 years ago

tordans commented 5 years ago

This ticket is about the parking:lane tag on highway.

ATM its more of a collection of references and thoughts to start a discussion.

I see a push in the community to add those details more to maps. I wanted to start the talk about how to add this to iD.

Articles about curb data

A great micro-editor for parking-tagging

Those are the thinks I like the most about this editor: a. It combines the visualization of data as one mode with an editing mode. Which pulls you right into editing, since you see what is there and what is missing. b. It highlights the curb-side by color (edit mode) which is an easy reference to the input sidebar. c. The sidebar only shows the parking-related tags, so nothing else needs to be understood; and also the UI can be smart for just this use case.

Some Screenshots: (Location/Link)

Visualization mode:

Bildschirmfoto 2019-04-13 um 08 06 45

Editing mode:

Bildschirmfoto 2019-04-13 um 08 07 08

Editing UI:

Bildschirmfoto 2019-04-13 um 08 07 14

Possible OSM Keys to support

Solution in iD

ATM, I don't see an easy way to add those presets. With the current preset interface the sidebar would be too cluttered after adding all those (empty) fields. Also the highlighting (left curb, right curb) is non-standard ATM. Also the tags have a lot of interaction.

A first step could be to have presets that only show, once some info is there, like with the cycleway fields referenced in https://github.com/openstreetmap/iD/issues/1762#issuecomment-242025240.

Another take could be to duplicate the turn-lane UI for such usecases. So there is one box for turn tagging, one for parking, one for sidewalks …

1ec5 commented 5 years ago

Another take could be to duplicate the turn-lane UI for such usecases. So there is one box for turn tagging, one for parking, one for sidewalks …

The turn lane UI is still being discussed in #387. Some of the proposed designs don’t really lend themselves to details other than turn lanes.

There are some similarities between parking:lane/parking:condition and cycleway. iD already has a field that differentiates between cycleway:left and cycleway:right:

cycleway

This field is far from ideal; mental gymnastics are required to tell which side is left and which is right. But a winning design for #387 need not block a very rudimentary field for parking:lane and parking:condition.

With the current preset interface the sidebar would be too cluttered after adding all those (empty) fields.

A field can be marked “optional”, which hides it by default unless the field has a value or the user explicitly adds it using the “Add field” dropdown.

tordans commented 5 years ago

Another take could be to duplicate the turn-lane UI for such usecases. So there is one box for turn tagging, one for parking, one for sidewalks …

The turn lane UI is still being discussed in #387. Some of the proposed designs don’t really lend themselves to details other than turn lanes.

To clarify, since I might be using the wrong terms here. I am not referring to #387, but this UI:

Bildschirmfoto 2019-04-14 um 09 05 05

I agree that #387 should do one thing great, which is handling the (car-)lanes. Parking, Sidewalks, maybe even bike lanes should go into dedicated UIs.

bhousel commented 5 years ago

Oh yeah what @1ec5 is correct. We ideally want to consolidate all of the "stuff tagged on a street" into a single place. I don't really want to build separate fields for each thing.