address-formatting icon indicating copy to clipboard operation
address-formatting copied to clipboard

German address abbreviation not correct

Open K-Ko opened this issue 1 year ago • 2 comments

/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

K-Ko avatar Oct 06 '24 11:10 K-Ko

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.

freyfogle avatar Oct 06 '24 13:10 freyfogle

Haven't forgotten about this, just busy with travel and other things. More soon.

freyfogle avatar Oct 16 '24 07:10 freyfogle

May be there is another blurring in FR and BE

e.g. Rue des Voituriers becomes r des Voituriers, but OSM:

image

K-Ko avatar Oct 27 '24 11:10 K-Ko

@K-Ko Can you open a seprate github issue? In which city,country did you find the street?

mtmail avatar Oct 27 '24 15:10 mtmail

Done, #117, #118

K-Ko avatar Oct 27 '24 17:10 K-Ko

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

freyfogle avatar Oct 29 '24 06:10 freyfogle