incubator-baremaps
incubator-baremaps copied to clipboard
Searching for alternate names in Geonames
Discussed in https://github.com/baremaps/baremaps/discussions/457
Originally posted by Drabble April 14, 2022 When we retrieve elements from Geonames, the only searchable fields are name, country and country code. Maybe we should also be able to search for alternate names as well (with a lower weight), so that we get more matches.
An example is the Switzerland country entry doesn't match for helvetia, suisse, schweiz, confederatio helvetica...

Some of these alternate names shouldn't be indexed because they are specific to a language. For example japanese, swedish, etc. But some of these alternate names are not specific to a language, as you can see in the code/lang columns.