Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for noname=yes, disable name field when set #1099

Open
RudyTheDev opened this issue Feb 6, 2024 · 1 comment
Open

Add support for noname=yes, disable name field when set #1099

RudyTheDev opened this issue Feb 6, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RudyTheDev
Copy link

OSM Tag(s)

noname=yes

How would you like this tag to see supported?

Other (please indicate below)

Label

Unnamed

Aliases

No response

Terms

No response

Link to OSM Wiki page

https://wiki.openstreetmap.org/wiki/Tag:noname%3Dyes

Status of the Tag

De Facto

Usage of the tag

780,454

Replaces other Tag?

No response

Regional Tag?

No response

Further Information

iD shows the name field prominently. However, if one were to add noname=yes, the name field display remains exactly the same. A user who doesn't check or have tags expanded would presume the name is missing, even though it may actually have been verified that the feature does not have a name. For example, official street names versus what someone might assume is the street layout without consulting sources.

I assume iD doesn't want all the new users to start adding noname=yes to everything, so I propose to show a "no name" checkbox under the name field if and only if the noname=yes is set and then disable/gray out the name field.

@RudyTheDev RudyTheDev added the enhancement New feature or request label Feb 6, 2024
@tyrasd
Copy link
Member

tyrasd commented Feb 14, 2024

The name field could be automatically hidden by using a prerequisiteTag. There are only a few (rare) corner cases of when a feature is tagged with noname=no and no name (here's an example: https://www.openstreetmap.org/node/8859106172 where the mapper indicated that the feature does have a name, but they don't know it). There are currently less than 100 such cases in OSM. Properly handling these would require extending the tagging schema to support more complex prerequisite tag handling (see ideditor/schema-builder#137 for that). An alternative option would be to hardcode this in iD for now…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants