openstreetmap / iD

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

Preset (common) name field #8109

Open sun-geo opened 3 years ago

sun-geo commented 3 years ago

For some feature presets it might be useful to remove the (common) name field.

After a quick taginfo check this could be done e.g. for the following tags:

landuse=grass (https://taginfo.openstreetmap.org/tags/landuse=grass#combinations ~2% name used) landuse=farmland (https://taginfo.openstreetmap.org/tags/landuse=farmland#combinations ~1% name used) landuse=meadow (https://taginfo.openstreetmap.org/tags/landuse=meadow#combinations ~1% name used)

The name=* field sometimes animates OSM-beginners to add the feature type as a kind of description using the name field.

Are there any ideas for the potential removal of the name field for other feature presets?

maro-21 commented 3 years ago

Similar issue: #7543

I agree that we can hide "name" field here.

quincylvania commented 3 years ago

name might not have a high percentage, but it still has tens of thousands of uses on these features and is one of the most common combinations. Is this causing frequent problems?

I tend to think it's okay to show the most common allowed fields even if the usage is low, but we may have to do better about teaching people what to put in fields and when to leave them blank.

sun-geo commented 3 years ago

@maro-21 Thanks for linking. Yes, it's a bit similar to the building name tagging.

@quincylvania It's not causing hard problems, but for my feeling the name field will be used instead of description or as a replacement of other tags (subtags) which maybe aren't invented yet to give some more details about the type.

It would be interesting if name would be still the most common combination if the field were not exist for the preset. I'm not sure if teaching will help so much.

If you just want have a look by yourself here is query for it: https://overpass-turbo.eu/s/ZJp

matkoniecz commented 3 years ago

After a quick taginfo check this could be done e.g. for the following tags: landuse=farmland (https://taginfo.openstreetmap.org/tags/landuse=farmland#combinations ~1% name used)

Note that at least some uses of name here are valid and correct. For example https://www.openstreetmap.org/way/259975428 The same may be true for grass and meadow.