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

Don't suggest upgrading to brands from incompatible countries #6513

Closed
andrewharvey opened this issue Jun 10, 2019 · 7 comments
Closed

Don't suggest upgrading to brands from incompatible countries #6513

andrewharvey opened this issue Jun 10, 2019 · 7 comments
Assignees
Labels
bug A bug - let's fix this! validation An issue with the validation or Q/A code
Milestone

Comments

@andrewharvey
Copy link
Contributor

iD say this node https://www.openstreetmap.org/node/2459170313 has outdated tags, and suggests the user updates them, however the changes made are incorrect.

iD adds https://en.wikipedia.org/wiki/Home_Hardware but the store is actually https://en.wikipedia.org/wiki/Home_Timber_%26_Hardware

I checked name-suggestion-index but all the "Home Hardware"'s have a ca countryCode, so iD shouldn't be suggesting it from name-suggestion-index.

@matkoniecz
Copy link
Contributor

@quincylvania quincylvania changed the title incorrect name-suggestion for Home Hardware Don't suggest upgrading to brands from incompatible countries Jun 10, 2019
@quincylvania quincylvania added validation An issue with the validation or Q/A code bug A bug - let's fix this! labels Jun 10, 2019
@quincylvania
Copy link
Collaborator

Related: #6479

@1ec5
Copy link
Collaborator

1ec5 commented Jun 11, 2019

Duplicate of #6448?

@bhousel
Copy link
Member

bhousel commented Jun 11, 2019

Duplicate of #6448?

Oh yeah, I thought I saw this before - you are right.
FWIW I just upgraded the NSI matcher today to allow it to consider countryCode.
We'll probably release a patch to iD in the next week or so.

@nicolasmaia
Copy link

Conversely, I recently made good use this "bug". I used the Brazilian preset for a Brazilian bank with branches in Japan, and the only thing I needed was to add a Japanese translation of its name.

I think this can be useful for multinational companies.

@andrewharvey
Copy link
Contributor Author

Conversely, I recently made good use this "bug". I used the Brazilian preset for a Brazilian bank with branches in Japan, and the only thing I needed was to add a Japanese translation of its name.

The correct way to deal with this is in name-suggestion-index, to either widen the supported county codes, or add a new entry for each country which usually means changing name to the local language.

@quincylvania
Copy link
Collaborator

FWIW I just upgraded the NSI matcher today to allow it to consider countryCode.
We'll probably release a patch to iD in the next week or so.

@bhousel Was this done?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this! validation An issue with the validation or Q/A code
Projects
None yet
Development

No branches or pull requests

6 participants