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
1 answer

Firewall Request for the HERE Geocode API (v6.2)

I'm trying to open our firewall to access the HERE GeocodeAPI but need the IP address range & port info. Does anyone know how to get this? Tried the HERE support team who were not able to provide it. Endpoint -…
0
votes
0 answers

The Location instance with the current location

In my program, I want to get a string with the name of the city that corresponds to the location on the phone. I have the geocoder code: class LocationData : LocationDataInterface{ var result: String = "" override fun…
Egor0702
  • 15
  • 2
0
votes
1 answer

HERE geocode returns empty response on multi-word search term

I'm using the following GET request: https://geocode.search.hereapi.com/v1/geocode?q=ground+zero&apiKey=12345 and the response is: { "items": [] } I tried different formats for the query parameter(q) but nothing works. To note, it does work…
Helppi
  • 1
  • 3
0
votes
1 answer

HERE How to get more than 100 places with discover

I'm developing a system to show the user all the activities in an area, i'm using Developer HERE api's using the discover api request. Discover limits at 100 activities per request and this is fine but i would like to know if it is possible to ask…
Djamaica
  • 29
  • 4
0
votes
1 answer

Location-Manager not returning location consistently

I am using Network Provider to get the last known location of the user. When I tested it, It was working perfectly in one of my phones, but latitude and longitude is returning null on another phone. Is there an alternative to location manager to get…
0
votes
1 answer

How do I get the address as soon as possible?

I am deveoping an app in Flutter using GetX state management, but having a difficult time getting address from GPS on the spot. I am using Geocoder and geolocator to fetch latitude, longitude, and address based on coordinates. I have a…
user2827326
  • 61
  • 2
  • 8
0
votes
1 answer

How do I fix the key error 0 in Geocoder with python

I am trying to map out the latitude and longitude from a column of addresses from a data frame. But it keeps giving me key error 0. for i in range(len(df['addresses'])): g = geocoder.arcgis(df['addresses'][i]) …
Song Mei
  • 69
  • 7
0
votes
1 answer

GeocoderAuthenticationFailure: Non-successful status code 401

I am using a Bing Maps key in the geopy.geocoder.Bing package to get latitude and longitude of addresses in a dataset. It has been working just fine for the last 2 months and then suddenly today I am getting this GeocoderAuthenticationFailure:…
0
votes
1 answer

Ruby Geocoder Gem giving inaccurate distance

I'm using the Geocoder gem to calculate the distance between some locations and the users location. I'm also manually plugging in the coordinates to measure the distance and the values are totally off. Inside the serialized model: attribute…
Doolan
  • 1,293
  • 1
  • 13
  • 28
0
votes
1 answer

How to add predefined places/markers to Leaflet Geocoder

I am using Leaflet Map with geocoder (ESRI) and Routing Machine. I have added two markers, let's say my home and my work var marker_work = L.marker([50.27, 19.03], { title: 'MyWork'}).addTo(map) .bindPopup("work").openPopup(); var marker_home =…
Tikky
  • 1,253
  • 2
  • 17
  • 36
0
votes
1 answer

Listen the click on the "X" button of a MapBox Geocoder

I want to use a MapBox Geocoder (outside a Map) to visualize and hide/clear a point from the map. Whenever a user searches for an address, I use geocoder.on('result', function (e) {...} to create a point, populate a layer and visualize it on the…
panos
  • 328
  • 1
  • 4
  • 16
0
votes
2 answers

Error while running Geocoder.local.findAddressesFromQuery

I'm trying to get the coordinations of a String address using Geocoder, my code is working well on ios devices but when I run it on Android it shows me this error I/zygote (29355): Do partial code cache collection, code=58KB, data=46KB I/zygote …
Rami Osman
  • 137
  • 1
  • 13
0
votes
1 answer

what service am I using if I didn't specify geopy.geocoder user_agent?

I am using geopy.geocoder to get coordinates for a large number of locations. I didn't specify user_agent, I only put my email as a string as "user_agent = 'shuning@xxx.com' ". I successfully got results smoothly this way, but I am wondering what…
0
votes
1 answer

How to set parameters for mapbox geocoder so that it only returns zip codes?

I'm currently working with a map and I only want my users to be able to search by their own zip code. Is it possible to customize the functionality of it in this way? here is the only code I'm working with for it: 'map.addControl( new…
0
votes
2 answers

sort_by multiple attributes in hash

I want to be able to sort my posts based on created_at asc(and include distance) vote_count desc (and include distance) distance asc So far I've been able to sort by distance, but I'm having trouble figuring out how to construct my map and still…
Crashtor
  • 1,249
  • 1
  • 13
  • 21