Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package returns abbreviations for city/state instead of full name #61

Open
amehta1128 opened this issue Jan 22, 2020 · 0 comments
Open

Comments

@amehta1128
Copy link

Hello,

By default the package does not include headers related to language, ie Accept-Language

Using, Accept-Language = en for example will result in the full name of the city/state

While, Accept-Language = EN for example will result in abbreviation for the city/state

In my setup I often see the later being returned which results in abbreviations for city/state.

Can we introduce an optional param to Geocoder to pass in headers when making a request to Nominatim (so that we can control the Accept-Language header)?

Thank you!

More about this issue is outlined here: osm-search/Nominatim#783

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant