-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
individual name for places of a brand #5985
Comments
If EDEKAs usually have each an own name, why is |
I.e. the preset should rather add |
I don't know whether the name is always different in the case of Edeka or whether it is only occasionally like that. Nevertheless, there is also no option to enter or change the name. |
For SC it is not possible to "detect" that "EDEKA Schreiber" is actually an "EDEKA" and henceforth should not be overwritten by the preset. |
Would it be a solution, if the name does not match NSI, not to overwrite it but to display it in a field. And if the name matches NSI, to hide the field and only make it visible via the three-dot menu. |
Maybe the branch key could help here? 🤨🤷 |
That would be very weird. Imagine there was a completely different shop in there before, you select "EDEKA" and the old name is still in the name field! Anyway, actually, what exactly were you doing, by the way? You added a new EDEKA? |
No, because in this case the “Is it a different place now?” window would open. If “Different place now” is then selected, the name must of course be overwritten.
I have selected the NSI preset for Edeka for an object with the following tags:
|
But why? And why did you change it? |
Because brand=EDEKA and brand:wikidata=Q701755 were missing. |
Anyway, the NSI presets for the screenshots above are "shop/supermarket/edeka-0a839e": {
"name": "EDEKA",
"locationSet": {"include": ["de"]},
"icon": "maki-grocery",
"geometry": ["point", "area"],
"matchScore": 2,
"imageURL": "https://graph.facebook.com/EDEKA/picture?type=large",
"terms": ["e neukauf", "edeka", "edeka neukauf"],
"fields": ["name", "brand", "{shop/supermarket}"],
"tags": {"brand:wikidata": "Q701755", "shop": "supermarket"},
"addTags": {
"brand": "EDEKA",
"brand:wikidata": "Q701755",
"name": "EDEKA",
"shop": "supermarket"
}
},
"shop/supermarket/aldi-813759": {
"name": "ALDI Nord (Deutschland)",
"locationSet": {"include": ["de"], "exclude": ["aldi-sued.geojson"]},
"icon": "maki-grocery",
"geometry": ["point", "area"],
"matchScore": 2,
"imageURL": "https://commons.wikimedia.org/wiki/Special:FilePath/AldiNord-WorldwideLogo.svg",
"terms": ["aldi nord"],
"tags": {"brand:wikidata": "Q41171373", "shop": "supermarket"},
"addTags": {
"brand": "ALDI Nord",
"brand:wikidata": "Q41171373",
"name": "Aldi",
"shop": "supermarket"
}
},
In conclusion, I have no idea how iD is able to treat these two differently. Maybe @kjonosm knows? |
But StreetComplete didn't display them as missing. |
https://nsi.guide/index.html?t=brands&k=shop&v=supermarket&tt=edeka#edeka-0a839e But |
@Cj-Malone but where is |
It's in nsi.json |
Hmm, StreetComplete and osmfeatures doesn't use that file at all. It seems to be somewhat of the {
"displayName": "EDEKA",
"id": "edeka-0a839e",
"locationSet": {"include": ["de"]},
"matchNames": ["e neukauf", "edeka neukauf"],
"preserveTags": ["^name"],
"tags": {"brand": "EDEKA", "brand:wikidata": "Q701755", "name": "EDEKA", "shop": "supermarket"}
}, |
I created an issue at NSI to include this information also in the If this is included, then we can do the following:
|
Sounds good. I would also display the text field if the name is not part of the NSI preset. EDIT: Never mind this already happens. |
How to Reproduce
Try to add a place in the places overlay of a brand with an individual name for example:
At the moment you cannot set an individual name for a place of a brand in the places overlay.
Or try to add the brand tag in the places overlay to a place that already has an individual name:
The name tag is currently overwritten and the following tagging is obtained:
Expected Behavior
Versions affected
59.2
Issues that may have a certain relationship
#4688
#5313
#5940
Wiki
https://wiki.openstreetmap.org/wiki/Key:brand#Examples
The text was updated successfully, but these errors were encountered: