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
1
vote
0 answers

Here geocode api gives double results

Some API geocode queries return double results when this is not warranted by the real data. It will return 2 results with slightly different latitude and longitude and different LocationId's. This makes it difficult if not impossible to decern which…
Egbert
  • 11
  • 2
1
vote
2 answers

How to move react-map-gl-geocoder position to the right

I'm using a Geocoder element with my Mapbox map - specifically react-map-gl-geocoder. I'm wanting to move the element to the right but I can't seem to override the styles given to it. In the image below, you can see the search at the top-left…
KleinESK
  • 85
  • 7
1
vote
0 answers

Geocoder flutter not very efficient

I encounter some trouble with Geocoder as flutter package. I can notice that it doesn't fit well for some France town and most of time it doesn't find it. I've got a google api's key but I can't find anything to convert a town to a postal code and…
LSL
  • 109
  • 1
  • 3
  • 11
1
vote
0 answers

google.maps.Geocoder show null results

i am having multiple addresses names in an array and i am calculating their distance from my location. so i am using google.maps.geocoder() for this purpose. it is not calculating lat long of multiple address i have. and show error:…
1
vote
1 answer

Can geopy return geocoding quality? (using Bing API)

I've been reading the docs for the Bing geocoder using geopy and there doesn't seem to be a parameter for geocoding quality as an output. In particular, I'm looking for 'matchCodes' and 'confidence' as outlined here. Anyone know if this is…
1
vote
0 answers

Geocoding web Api with Android App restriction

I am using Geocoder to get address from latlng. But as my requests will be more such as 300 latlng for a minute. Google was returning "Service Not Available Exception". I was suggested to use Geocoding Api…
1
vote
1 answer

How to get the postal code, providing the geographical coordinates, using geocoder in python

I'm using the following function to convert postal codes to geographical coordinates and to append it to the source dataframe (using geocoder powered by Bing maps api) My question is, how can I modify it to do the reverse. I want to provide the…
Efren M
  • 67
  • 5
1
vote
1 answer

Ruby-on-Rails, Geocoding and IPv6

For years I have been determined a users location with the help of Geocoder, looking up the IPv4 address. By firing request.location, I determined the location, and if the country was multilingual, I looked up the browser language setting to set…
Georg Keferböck
  • 1,967
  • 26
  • 43
1
vote
1 answer

Use Ruby Geocoder gem to create Location object

I need to use the Ruby Geocoder gem to create an object using attributes back from an address search query. I expect to create a new location from the received data from the Geocoder results and create a new object with attributes from the…
1
vote
0 answers

ActiveRecord::StatementInvalid: PG::SyntaxError: ERROR: syntax error at or near "AS" (Geocoder)

I'm trying to implement a method of scoping by geolocation using the geocoder gem. My aim is to hit the geocoder api which will give me the ability to filter entries in the databate by distance to the given location, querying the geocoded longitude…
Jonny
  • 71
  • 1
  • 5
1
vote
2 answers

Getting Size 0 for maxAddressLineIndex in GeoCoder Address

I have done as below in Kotlin to get the Address from LatLng using GeoCoder in Android : private fun getAddress(latLng: LatLng): String { // 1 val geocoder = Geocoder(this) val addresses: List
? val address: Address? …
Jaimin Modi
  • 1,530
  • 4
  • 20
  • 72
1
vote
0 answers

Length mismatch

I have written a code that converts physical addresses to Geographic locations → Latitude and Longitude, but the code showing this error ValueError: Length mismatch: Expected axis has 7 elements, new values have 4 elements File…
Wisam hasan
  • 187
  • 1
  • 3
  • 13
1
vote
0 answers

not updating photon by updated nominatim data

I have a problem with photon. I had already imported data to nominatim db. afterwards, I imported data to photon based on new imported data from nominatim. but for some reason I was forced to empty nominatim db and imported new data to it, and then…
1
vote
0 answers

Get List of postal codes from visible region in google map android

I hope you are doing good in your field. Need some help for getting list of postal codes from the user visible area of google map for that i got the visible region. reference link for getting visible region Now i am trying to get the address using…
Nilesh Panchal
  • 1,059
  • 1
  • 10
  • 24
1
vote
0 answers

Use Here maps geocoder in Laravel

I have laravel application which uses google maps geocoder http://geocoder-php.org/Geocoder/. Seems this support only google maps and few other things. I need to use here maps for geocoding. is it possible to use here maps geocoder in laravel?
User123
  • 793
  • 4
  • 10
  • 28
1 2
3
12 13