address-formatting
address-formatting copied to clipboard
German address abbreviation not correct
/conf/abbreviations/de.yaml
road:
Platz: Pl
I stumbled across the fact that the following address is shortened incorrectly, correct is
Willy-Brandt-Platz 6
81829 München
but formatted result is
Willy-Brandt-Pl 6
81829 München
https://www.openstreetmap.org/search?query=Willy-Brandt-Platz%206%2C%2081829%20M%C3%BCnchen
hmm, ja. Thanks for making us aware.
Ok, will add a test case and get a fix out in a few days but it will be to the perl parser. Will be up to each language parser to obey the test.
Haven't forgotten about this, just busy with travel and other things. More soon.
May be there is another blurring in FR and BE
e.g. Rue des Voituriers becomes r des Voituriers, but OSM:
@K-Ko Can you open a seprate github issue? In which city,country did you find the street?
Done, #117, #118
the original German issue is now solved in the latest version of the perl parser (Geo::Address::Formatter) and there is now a test in testcases/abbreviations/de.yaml