geo-golang
geo-golang copied to clipboard
Package returns abbreviations for city/state instead of full name
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: https://github.com/openstreetmap/Nominatim/issues/783