[Tagging] Tagging of food declarations in restaurants

Minh Nguyen minh at nguyen.cincinnati.oh.us
Sat Nov 6 21:01:59 UTC 2021


Vào lúc 13:40 2021-11-06, Toggenburger Lukas đã viết:
> So in summary, we could have different keys with very distinct meanings:
> 
>      food:salmon:fao (for FAO codes)
>      food:salmon:fao:es-419 (for local language)
>      food:salmon:fao:wikidata (for Wikidata identifiers)
> 
>> Tagging schemes that rely on arbitrary keys are very unlikely to be
>> supported by data consumers of any kind. Putting the country code in the
>> key and the foodstuff in the value would at least close the set of
>> possible keys to some extent, making it similar in difficulty to
>> processing localized name tags.
> 
> So you are saying that having local names in keys is more difficult to handle than in values? 🤔
> Wouldn't we need to a have custom-written data consumer for this tagging anyway?

No, sorry, I meant that M49 codes are well-established in the same way 
as the ISO country and language codes we're already using in OSM. I was 
suggesting that you'd use, for example:

* food_origin:chocolate=MX for chocolate from Mexico
* food_origin:chocolate=419 for chocolate from Latin America more generally

or perhaps:

* food_origin:salmon:wikidata=Q43182728 for salmon caught in the 
Northeast Atlantic

Human-readable names for this purpose, whether localized or unlocalized, 
would only complicate what's already a relatively complicated tagging 
scheme.

-- 
minh at nguyen.cincinnati.oh.us





More information about the Tagging mailing list