photon icon indicating copy to clipboard operation
photon copied to clipboard

Handle abbreviations in typed names

Open RicoElectrico opened this issue 10 years ago • 1 comments

By the convention, names in OSM database are entered in their full name. So we have "Avenue" instead of "Ave", "Generała" instead of "Gen." and so on. This makes results not necessarily accurate when the user enters the abbreviated form. A good starting point would be the list from this program which is used in Osmapa.pl Mapnik style to shorten (e.g. street) names that don't fit on a low zoom level. https://github.com/balrog-kun/shrtnms/blob/master/shorten.c It's under 2-clause BSD license, so should be compatible.

RicoElectrico avatar Aug 14 '14 10:08 RicoElectrico

+1

landonreed avatar Sep 18 '14 12:09 landonreed