Questions tagged [google-geocoding-api]

The Google Geocoding API is a webservice for the Google Maps API. The Geocoding API provides a direct way to access a geocoder via an HTTP request, though it must be used in conjunction with Google Maps.

Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map.

Reverse geocoding is the process of converting geographic coordinates into a human-readable address.

The Google Geocoding API provides a direct way to access a these services via an HTTP request.

743 questions
18
votes
1 answer

Is google.loader.clientlocation still supported

I have made some tests using google.loader.ClientLocation from: http://www.google.com/jsapi But I get null for the test: if (google.loader.ClientLocation) This is the behaviour when google does not find information for IP. I searched…
user1565007
16
votes
3 answers

GoogleMaps API -address to coordinates (latitude,longitude)

This is driving me crazy. I have deleted this key 1000 times so far. Yesterday it worked like a charm, today not anymore Here is the python code: from googlemaps import GoogleMaps gmaps =…
MiniMe
  • 647
  • 2
  • 18
  • 34
15
votes
1 answer

Places Autocomplete API to get GPS coordinates from address entered

I have an address field in my app where the user needs to enter the required address. I have used google Geocoder to get the GPS coordinates of the address . But now I want to make it easier for the user by using Places Autocomplete . But Places…
14
votes
5 answers

Maps API keys for geocoding not working anymore?

It seems that the generated keys in the Google API's console are not working anymore. With different keys (tried it with both server and browser key, however the server key is what I need), generated from different accounts I get constantly the…
Uprise10
  • 147
  • 1
  • 1
  • 7
13
votes
1 answer

Is It compulsory to enable billing account by June 11, 2018 through credit card information to continue to access Google Maps API?

Per Google, "Beginning on June 11, 2018, you’ll need to enable billing with a credit card and have a valid API key for all projects. This will give you the ability to scale easily with less downtime and fewer performance issues. In addition, we’re…
13
votes
7 answers

How to geocode address by google maps iOS API?

I found one way to send request: A Google Maps Geocoding API request takes the following form: https://maps.googleapis.com/maps/api/geocode/outputFormat?parameters where outputFormat may be either of the following values: json (recommended)…
Jurasic
  • 1,476
  • 1
  • 14
  • 26
12
votes
3 answers

Python error load JSON code of google API

I am using google geocode API to test the following Python3.5 code but receive the error below. raise JSONDecodeError("Expecting value", s, err.value) from None >JSONDecodeError: Expecting value Here are the codes: import urllib import…
Gavin
  • 979
  • 4
  • 11
  • 24
12
votes
7 answers

Getting an intersection with Google Places/Geocoding API

I'm trying to find the two closest streets to a point with the Google Places API (basically to indicate the closest intersection). However, any result will only ever return one "route", if at all. I figure I could do 5 queries in a + or X pattern,…
EboMike
  • 72,990
  • 14
  • 152
  • 157
11
votes
3 answers

Google Geocoding stopped to work for Crimea, Ukraine

I've discovered very strange issue. Geocoding API suddenly stopped to work for Crimea coordinates. Example: Simferopol city: http://maps.googleapis.com/maps/api/geocode/json?language=en&latlng=44.957844%2C34.104996&sensor=false But it works for any…
Dmitry Salnikov
  • 329
  • 4
  • 15
11
votes
2 answers

Google Geocoding v2 API stopped working suddenly

The Geocoding v2 API stopped unexpectedly. e.g. http://maps.google.com/maps/geo?q=27703&output=json&key=AIzaSyBVr3n3IVZzakGvtIWeRaJEXsC63JHZ0w8 I'm not able to get lat,long from the API. The output from server is: { "Status": { "code": 610, …
Shashank Degloorkar
  • 2,933
  • 4
  • 30
  • 44
10
votes
2 answers

Does the v3 Google Maps Geocoding API have a field that represents accuracy?

I have some code that I'm porting over from API v2 to v3. In the old code we had an accuracy field that came back in the xml (not sure of the name, but it did represent a confidence level of sorts). In the new API, I don't see any field like that.…
jcollum
  • 36,681
  • 46
  • 162
  • 279
10
votes
2 answers

Python - getting the population of a city given its name

What is a good python API I can use to get the population of a city? I have tried using geocoder, but it is not working - not sure why. geocoder.population('San Francisco, California') returns 'module' object has no attribute 'population' Why is…
10
votes
2 answers

Difference between viewport and bounds in google geocoding

What the difference between viewport and bounds rects in google geocoding api? For big countries (USA, Russia) viewport differs from bounds (sample request for Canada: http://maps.googleapis.com/maps/api/geocode/xml?address=Canada&sensor=false, but…
Ivan Kochurkin
  • 4,062
  • 7
  • 41
  • 70
9
votes
1 answer

Google Place API in portuguese

I'm using Google's Place API to Autocomplete the cities names typed by the users (webpage). The API is loaded passing the language (pt-BR) as parameter and the text box is being filled correctly in portuguese, but when the method getPlace() is…
Douglas Gandini
  • 797
  • 8
  • 24
9
votes
1 answer

What does each Android's location.Address method return?

I am trying to figure out exactly how to get address component with the Android SDK with the class android.location.Address. Some of the methods are very straightforward, other are easily understood with the examples in the documentation, but some…
Guilherme
  • 7,480
  • 8
  • 49
  • 94
1
2 3
49 50