Questions tagged [google-geocoder]

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

The Geocoding API is a service that provides geocoding and reverse geocoding of addresses.

Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place markers on a map, or position the map.

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

This service is also available as part of the client-side Google Maps JavaScript API, or for server-side use with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services.

982 questions
10
votes
5 answers

How to get location coordinates knowing place_id via google javascript api

I know place_id, and I need to know it's coordinates. I can do GET https://maps.googleapis.com/maps/api/geocode/json?place_id=ChIJOwE7_GTtwokRFq0uOwLSE9g&key=KEY_GOES_HERE which gives me something like that: ``` "results" : [ { …
eawer
  • 1,398
  • 3
  • 13
  • 25
9
votes
1 answer

Android geocoder reverse location - reliable way to get the city?

I have searched quite a bit without luck so far. The Android Geocoder returns the android.location.Address object. The city, as far as I understood, should be returned in getLocality(). It seems within USA this works well, outside not. I am writing…
John
  • 7,507
  • 3
  • 52
  • 52
9
votes
3 answers

English instead of local language for Geocoder

I am using Geocoder to get address from lan/lat coordinates. The problem is that the address is in local language (the street name usually). How can I set it to be only in English? I am using: Geocoder geocoder = new Geocoder(Context,…
Dim
  • 4,527
  • 15
  • 80
  • 139
8
votes
3 answers

How do I catch/solve an ActiveRecord:RecordInvalid exception caused when I save a built assocation

I am hoping to get some help solving a problem that I'm sure many of you could avoid in your sleep. I have two models in a habtm relationship. A package can have many locations, and a location can have many packages. If my location model fails…
chuck w
  • 1,741
  • 2
  • 15
  • 34
8
votes
1 answer

Extract Address from String - Equivalent to NSDataDetector in iOS

In iOS there's a class named NSDataDetector that, for example, let's you pass a text and it will detect if that text contains things like postal addresses, dates, links... In my case, I'm interested in finding a similar tool for Android that let…
Jorge
  • 285
  • 2
  • 10
8
votes
6 answers

Google maps API V3 - Can't geocode AutocompleteService predictions

I'm using the google.maps.places.AutocompleteService to get suggestions for a places search, but I can't geocode some of the predictions. An example of this: When I search for 'storms river mouth', one of the predictions I get back is 'Storms River…
badsyntax
  • 9,394
  • 3
  • 49
  • 67
7
votes
2 answers

Automatically Finding Appropriate Zoom for Geocoding Result

I'm using Google Maps and Google Geocoding service for my location service application. I use Google Geocoding service for translating address to lat/lng position. My problem is how to automatically find an appropriate zoom for a certain address…
Petra Barus
  • 3,815
  • 8
  • 48
  • 87
7
votes
4 answers

Autocomplete Google Map V3 Places impossible to customize?

I narrowed autocomplete to a region and to a bounds that cover only Australia, but I am still receving autocomplete with Chile and China and other country out of the selected area. Does anyone have a good solution to work this problem? I also can't…
DaniMatos
  • 71
  • 3
7
votes
5 answers

Making sense of Google Geocoding API results

I'm using Google's Geocoding API to process free-form address data and am trying to make sense of the results (subpremise, administrative_area_level_2, etc.). At this point I'm only interested in addresses in the US, and would like to format the…
jrdioko
  • 32,230
  • 28
  • 81
  • 120
7
votes
1 answer

Google Maps Api without setting up a billing account

It's possible to use google Maps Api without a API KEY? Using http://maps.googleapis.com/maps/api/geocode/xml?address=[address]&sensor=false I get the following error response REQUEST_DENIED (to authenticate each request to Google Maps Platform…
ALFA
  • 263
  • 1
  • 5
  • 20
7
votes
2 answers

Getting connection timed out error while GeoCoding in R

I have to geocode few addresses in R but getting a "Timeout was reached: Connection timed out after 10000 milliseconds" error. I am behind office firewall so tried to use proxy as well but still getting the same error. This works when I use source…
7
votes
2 answers

Get persian information from android Geocoder

I'm trying to get Persian information from android Geocoder, i mean i pass latitude and longitude and i want to get name of the city in Persian, but there is no locale to get those info in Persian. I can see that in Place Autocomplete google…
Omid Karami
  • 2,675
  • 2
  • 13
  • 17
7
votes
1 answer

Retrieve all localities and sub localities from given city google places API

I am looking for a web service or a Google place API kind of plugin to retrive localities,sub-localities and areas of the given city name. have been trying my hands with google and geonames but can't able to get through…
saikiran
  • 2,247
  • 5
  • 27
  • 42
7
votes
2 answers

Google Geocoding API returns wrong language in response

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…
7
votes
4 answers

Geocoding results without displaying them on a map

I am devoloping an app that let the user know its location. I am using this example But I also seen here that "The Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited".…
Dim
  • 4,527
  • 15
  • 80
  • 139
1 2
3
65 66