In areas where multiple languages are spoken, OSM usually has a name tag which contains all the language variants. This can for example be seen in Brussels not only in the name of the city itself but also on every street within the city. The language variants then appear again in separate language-specific name tags.
It would be nice to have a sanitizer which detects when a name tag only consists of a concatenation of names already present in language-specific name tags and removes the name in that case.
Note that the rules on how the names are concatenated are region-specific and can be complex. This wiki page list some current practice. Essentially, there are four ways of concatenating: slash, hyphen, semicolon and simple space. Ideally the sanitizer can just deal with all of them. We definitely need lots of tests derived from examples on this site.
In areas where multiple languages are spoken, OSM usually has a name tag which contains all the language variants. This can for example be seen in Brussels not only in the name of the city itself but also on every street within the city. The language variants then appear again in separate language-specific name tags.
It would be nice to have a sanitizer which detects when a
nametag only consists of a concatenation of names already present in language-specific name tags and removes the name in that case.Note that the rules on how the names are concatenated are region-specific and can be complex. This wiki page list some current practice. Essentially, there are four ways of concatenating: slash, hyphen, semicolon and simple space. Ideally the sanitizer can just deal with all of them. We definitely need lots of tests derived from examples on this site.