My project requests Geocoding API for coordinates and correct full addresses in Odessa, Ukraine.
I could request response in Russian or Ukrainian language adding language=ru
(language=uk
) parameter to the HTTP request. Starting today I get street name in Ukrainian in response, no matter which language I specify in request.
Examples.
Request for Russian: https://maps.googleapis.com/maps/api/geocode/json?address=Пушкинская, Одесса, Украина&language=ru
Relevant part of the response:
"results" : [
{
"address_components" : [
{
"long_name" : "Пушкінська вулиця",
"short_name" : "Пушкінська вулиця",
"types" : [ "route" ]
},
{
"long_name" : "Приморський район",
"short_name" : "Приморський район",
"types" : [ "sublocality_level_1", "sublocality", "political" ]
},
{
"long_name" : "Одеса",
"short_name" : "Одеса",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Одесский горсовет",
"short_name" : "Одесский горсовет",
"types" : [ "administrative_area_level_3", "political" ]
},
{
"long_name" : "Одеська область",
"short_name" : "Одеська область",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "Украина",
"short_name" : "UA",
"types" : [ "country", "political" ]
}
],
Please note, that "country"
and "administrative_area_level_3"
fields are in Russian, as they should be, but everything else is in Ukrainian.
If I use language=uk
all fields in the response are returned in Ukrainian language (as intended).
I suppose someone at Google merged Russian and Ukrainian lists, and there nothing I can do to get Russian names back on my end. So the question is more about where I should report this bug?
According to Google's API Usage and Billing page, there is a limit of 50 requests per second. If you exceed this amount, subsequent requests to the API will fail with the OVER_DAILY_LIMIT or OVER_QUERY_LIMIT status code and the geocoded data will not be returned.
Reverse Geocoding and Geolocation Service by Noggle is a free API that allows developers to embed the functionality to locate the largest city or nearest one to the latitude to longitude location.
I used this
https://maps.googleapis.com/maps/api/geocode/json?address=Пушкинская,%20Одесса,%20Украина&language=uk
and the response is
for
https://maps.googleapis.com/maps/api/geocode/json?address=Пушкинская,%20Одесса,%20Украина&language=ukr
I get this response
if i use
https://maps.googleapis.com/maps/api/geocode/json?address=Пушкинская,%20Одесса,%20Украина&language=en
I get this response
You can report a geo-coding api issue here.
Hit "New Issue," and under "Template" select "Geocoding API - Bug."
Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With