Questions tagged [geocoder]

An Android class for handling geocoding and reverse geocoding.

A class for handling geocoding and reverse geocoding. Geocoding is the process of transforming a street address or other description of a location into a (latitude, longitude) coordinate. Reverse geocoding is the process of transforming a (latitude, longitude) coordinate into a (partial) address. The amount of detail in a reverse geocoded location description may vary, for example one might contain the full street address of the closest building, while another might contain only a city name and postal code. The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform. Use the isPresent() method to determine whether a Geocoder implementation exists.

https://developer.android.com/reference/android/location/Geocoder.html

181 questions
0
votes
0 answers

google geocoding OVER_QUERY_LIMIT

I know there are plenty of questions to this topics, but I couldn't find a proper explanation for my case. On my website the user manually clicks on the google map and then the geocode function is called. While "realistically" testing, nearly all…
Guti_Haz
  • 2,528
  • 2
  • 15
  • 20
0
votes
2 answers

Geocoder returns address in Android emulator but none in my phone

I have the problem that if I try to get an address with the geocoder.getFromLocationName("California",1) function, it founds the address but if I test it on my device (Xiaomi Mi5, Oreo) it returns an empty list. Thanks in advance! private void…
0
votes
1 answer

Geocoder returns false on isPresent()

So I wrote some code for maps in my app, and it works on my phone just fine, sadly it does not work on my emulator which is not comfortable enough for me here is the code: String searchString = mSearchText.getText().toString(); Geocoder geocoder =…
0
votes
2 answers

Android Studio Geocoder RPC failed with status 102

Working on a project that gets the address from a database. From those addresses i get the LatLng and pin them on a Google maps Activity. I use this method to get LatLng from the address : public LatLng getLocationFromAddress(Context context,…
Alex E.
  • 139
  • 3
  • 14
0
votes
2 answers

Ionic Native Geocoder "Cannot find a location."

I am using the Native Geocoder in my Ionic app. Documented here Ionic documentation Github Repo This is the method in my provider - //This calls the Native geocoder and returns the geocoordinates. getGeoCode(address: string): Promise { …
user6277510
0
votes
2 answers

Can I have reverse_geocoded_by and geocoded_by at the same time in a model? Rails

I'm looking to allow my model to be geocoded by full_street_address and reverse_geocoded_by :latitude and :longitude so that I can call Address.near and get them either by one or the other way. This seems to work but could this approach cause…
Hugo
  • 2,073
  • 6
  • 23
  • 46
0
votes
1 answer

Google Geocoder API with Angular 4

We have a purchased Google Map API key. In our Angular code, we are trying to use "google.maps.Geocode().geocode" that uses agm/core angular library to do a reverse geocoding for a list of latitude/longitude. In a second, we wanted to send around…
Gnan
  • 1
  • 1
  • 2
0
votes
1 answer

Android Get Location Address with Geocoder in a Service

I followed this to get Location Coordinates and Address So Here Its getting Updates Location Coordinates Latitude and Longitude for Every 10 seconds I am trying to Get Location Address along with them Here To Get Address I am Using Const…
Whats Going On
  • 1,379
  • 6
  • 20
  • 49
0
votes
1 answer

Java anonymous class (implementing an interface) callback is null when passed to another function

I'm attempting to implement a callback for Android Java JsonObjectRequests. I've found dozens of posts showing code that is nearly verbatim. My problem is that the callback is null. See the two inline comments. public interface…
0
votes
0 answers

Geocoder find nearby suburbs

In my rails application I have a table called Suburb which contains the name of suburbs with their respective latitude and longitude. When I query Suburb.near(@suburb.name, 50, :units => :km).order('distance').map(&:name) It is skipping some…
kojha31
  • 11
  • 2
0
votes
0 answers

Rails Linking Google map info window marker to model

I have successfully listed my "parking" stalls on a google map, however, I have tried several attempts to integrate <%= link_to parking %> so when the info window with daily_price is clicked goes to parking view. where/how should I place the…
Zurch
  • 39
  • 10
0
votes
1 answer

ol3 geocoder zoom level issue in chrome

I am trying to add ol3 geocoder control in my project. I have set fix zoom level and it is working in Mozilla and it comes properly with appropriate zoom level but in google chrome it is not working. It takes the location on deep zoom in level. I…
vyomaes
  • 1
  • 1
0
votes
0 answers

Geocoder grpc failed [none of the solution on stackoverflow worked]

I am trying to get address from latitude & longitude but it throws an exception with a message "grpc failed". I know there are many same questions on stackoverflow but none of the solution/answer worked for me. Logcat: 01-03 09:46:12.230…
Akshay Sood
  • 6,366
  • 10
  • 36
  • 59
0
votes
1 answer

Empty array in near using geocoder

I'm using geocoder. I want to get near locations but it's returning a empty array. Got this in database: "id": 5, "name": "sogra2", "lat": "-22.833575", "long": "-43.312882", This is my action using the near coordenates def near @near =…
Igor Martins
  • 2,015
  • 7
  • 36
  • 57
0
votes
1 answer

Problems with Geocoder in Java Swing

Good afternoon, I am building a system to a academic project in Java Desktop. In this project, I need to receive an address (like "5th avenue, NY") and convert this address to geographic coordinates (latitude and longitude) to store them in the…