Say a country has 3 spoken languages, which is reflected in its administrative names (example for Casablanca, Morocco, which has name=Casablanca ⵜⴰⴷⴷⴰⵔⵜ ⵜⵓⵎⵍⵉⵍⵜ الدار البيضاء (French, Tamazight and Arabic)).
Which scheme should I follow for addresses:
Using all languages first and then adding each language tag addr:city=Casablanca ⵜⴰⴷⴷⴰⵔⵜ ⵜⵓⵎⵍⵉⵍⵜ الدار البيضاء addr:city:fr=Casablanca addr:city:zgh=ⵜⴰⴷⴷⴰⵔⵜ ⵜⵓⵎⵍⵉⵍⵜ addr:city:ar=الدار البيضاء
Not using addr:city at all and only using each language tag addr:city:fr=Casablanca addr:city:zgh=ⵜⴰⴷⴷⴰⵔⵜ ⵜⵓⵎⵍⵉⵍⵜ addr:city:ar=الدار البيضاء
I’ve only been tagging addr:city=Casablanca ⵜⴰⴷⴷⴰⵔⵜ ⵜⵓⵎⵍⵉⵍⵜ الدار البيضاء for everything because there’s no community consensus yet here (and a very small community), but I was wondering if it was correct to set 3 languages in a single address. Thanks in advance.
Where the city is mapped with its boundary (as for Casablanca) you can also just not have any addr:city tags at all as long as the object is unambiguously inside the boundaries. Tools like Nominatim will derive the city from the boundaries.
That’s not really relevant… mine is asking if it’s correct to add multiple languages in the addr:city tag while the other is asking about finding a consensus for names in all of Algeria.
As OpenStreetMap data is intended to be geospatial (sic!), you can utilize topological inheritance. Adding the addr:city tag to each building in the city would be excessive.
Outline the city boundaries and tag this feature as place=city, name=*, and name:<lang_code>=*. Within the city area, tag addresses without using the addr:city tag. Geocoding and search tools will use the city name in all designated languages to populate the address. For more information, please refer to https://wiki.openstreetmap.org/wiki/Addresses#Country_specific_rules_and_sources