osmlab/name-suggestion-index

Duplicate cache key "amenity/post_office/q7233983" in trees "operators" and "brands", check items: postalcorporationofkenya-56917c

Closed this issue · 2 comments

{
"displayName": "Posta Kenya",
"id": "postakenya-411fca",
"locationSet": {"include": ["ke"]},
"tags": {
"amenity": "post_office",
"brand": "Post Office",
"brand:wikidata": "Q7233983",
"name": "Posta Kenya"
}
},

{
"displayName": "Postal Corporation of Kenya",
"id": "postalcorporationofkenya-56917c",
"locationSet": {"include": ["ke"]},
"tags": {
"amenity": "post_office",
"operator": "Postal Corporation of Kenya",
"operator:wikidata": "Q7233983"
}
},

Posting for community feedback as to which entry should be retained.

The entry in the brand tree seems wrong, as it simply uses the brand post office rather than Posta Kenya.

I elected to merge the two entries into the brands tree using the "Posta Kenya" name. The value from the operator entry ("Postal Corporation of Kenya") is apparently the formal name of the entity, and it was added as a matchName both for the benefit of editors and to satisfy the build script, which readded the entry otherwise.