Status Update
Comments
jr...@gmail.com <jr...@gmail.com> #2
It might be worth noting that
ee...@google.com <ee...@google.com>
ma...@google.com <ma...@google.com>
ee...@google.com <ee...@google.com> #3
Thanks for the post.
Using a 4-digit number as the address input is often an ambiguous query, even within the context of a single country.
You can use Places Autocomplete as an alternative as it is designed to cope with ambiguous queries. Combined with its support to restrict results by country and types, it has proven able to find every single postal code (that exists in Google Maps). For example:
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=2013&types=(regions)&components=country:AT&key=YOUR_API_KEY https://maps.googleapis.com/maps/api/place/autocomplete/json?input=2020&types=(regions)&components=country:AT&key=YOUR_API_KEY https://maps.googleapis.com/maps/api/place/autocomplete/json?input=2014&types=(regions)&components=country:AT&key=YOUR_API_KEY
Please see
That being said, we are now marking this report as a duplicate of issue
mi...@google.com <mi...@google.com> #4
We greatly appreciate your patience.
Recent improvements in our address geocoding systems have addressed this issue in most countries.
A few issues remain in certain countries with 4-digit postal codes, we will continue working on these and post updates here.
In the meantime, the correct results can be obtained from the Geocoding API using the format in language
parameter to the local language of the region.
For instance, postal codes in Austria are still affected and yield ZERO_RESULTS
when the request language preference is set to English (default):
{
"results" : [],
"status" : "ZERO_RESULTS"
}
Note: &language=en
is added above to reflect the API's default language preference, which may be overriden by the Accept-Language
header sent by web browsers when testing API requests manually (see
In contrast, the vast majority of postal codes (in Austria and other countries) yield the correct result when the request language preference is set to the local language (German in Austria):
"formatted_address" : "2013, Österreich",
"place_id" : "ChIJcT372HFpbUcR6NyHqvLactE",
"types" : [ "postal_code" ]
is...@google.com <is...@google.com>
na...@gmail.com <na...@gmail.com> #5
Hello I have the same issue (ZERO_RESULTS) in GB
for some postcodes i.e. SW1V 3EN
, M154YQ
and M4 4AX
. I have tested the API in your
Also tried autocomplete api but has the same result
Can you advise?
Description
https://maps.googleapis.com/maps/api/geocode/json?components=country:at|postal_code:2013
this query does return
ZERO_RESULTS
, tough the postal code2013
is valid inAustria
.Same for postal codes nearby:
2020
or2014
.