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

Geocoder geonames: unraveling children

I am accessing Geonames data via the python geocoder library https://github.com/DenisCarriere/geocoder While I am able to use the g = geocoder.geonames(PLACE, _USERNAME) function to then have data such as g.address, g.lat etc, I am also usign the…
Robert Alexander
  • 875
  • 9
  • 24
0
votes
1 answer

How to search strictly by city state in geocode python

I'm using geopy Nominatim to get latitude longitude for a given city state, but the problem is, it searches for everything in an address and not just the city state. My implementation is something like this: geolocator =…
joepaji
  • 45
  • 4
0
votes
1 answer

Mapbox geocoder in React

I recently made my first app on React. I had a d3 map that looks a bit old now, so I decided to switch to Mapbox. The data transmitted is a list of country names and a percentage. The goal is to visualize each country and its percentage. I wrote all…
Night18
  • 13
  • 3
0
votes
1 answer

This program is for giving the carrier and the country of a specific number , but it's just return the carrier without country

there is the code : import phonenumbers from phonenumbers import geocoder number = input("enter the number : ") ch_number = phonenumbers.parse(number, "CH") print(geocoder.description_for_number(ch_number, "english")) from phonenumbers import…
0
votes
0 answers

Geocoder freez application for 3 or 4 seconds when try to search by place name

i create app for location base data i'm using geocoder to fetch places data but its hang for 3 or 4 seconds but after loads data correctly its android studio java based for getting city name or district from geocoder after freez its gets results…
Noor Azam
  • 1
  • 1
0
votes
1 answer

kotlin geocoder.getFromLocationName getting hung

So I tried to convert a text address into coordinates using geocoder.getFromLocationName() in kotlin import android.location.Geocoder val geocoder = Geocoder(context, Locale.getDefault()) try { val result =…
0
votes
0 answers

I'm getting an error when trying to use the heatmap option with Folium and Geocoder

I'm trying to run the following code to get a Heatmap from geocoder.osm. When I run the script, I get an error. It seems to be getting caught on the line that says plugins.HeatMap(large_cities).add_to(map_heatmap) This is the script in its…
Geno
  • 29
  • 7
0
votes
1 answer

Need to display city from IP address by using python

I've dataframe with name loaddata1 with column "IP_Adress" containing IP's in it and I want another column with name "city" which will display corresponding city based on Ip_adress. Can some suggest proper code. I've used below code but its not…
0
votes
0 answers

Geocoder , separete direction

I have a gps points in one column in df , i convert points to direction with this code: DF_DIRECCION3['Direccion_py']=DF_DIRECCION3['COORDENADAS'].apply(lambda x:geolocator.reverse(x)) The results are a dirección like this: 67, Calle…
0
votes
0 answers

Geocoder gem: from address to coordinates

I am using the geocoder gem to translate addresses to coordinates in my Ruby on Rails app. For no apparent reason, some addresses are not found, even though they are structured exactly the same way. Does anyone know the cause of this? f.e. This…
0
votes
0 answers

How to find a city's coordinates with Node-Geocoder

I am using Node-Geocoder to find the lat and long of different cities. type docs: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node-geocoder/index.d.ts#L135 This is my code: import NodeGeocoder from 'node-geocoder'; const…
user18923197
0
votes
0 answers

Getting Addressline wrong using Geocoder in android studio

I am trying to get all the address line of the user using Geocoder but i am gtting the address line along with the feature name and i only wanted to get theaddress line Geocoder geocoder; List
addresses; …
Adeel Zaman
  • 23
  • 1
  • 4
0
votes
0 answers

ReverseGeocodeLocation always return error

When I use this method, for update annotation title,i always have error when I move map to another city or country: Error is: The operation couldn’t be completed. (kCLErrorDomain error 2.) Yes, I have seen similar posts on this topic. However,…
0
votes
2 answers

GeoCoder Does not show contryName

I am making an android application.In my application I want to get the Country name of my location using my LocationTracker Class I created , but I cant get the Country name using GeoCoder Here is my LocationTracker Class package…
farzin
  • 3
  • 3
0
votes
1 answer

How to use Here Api to get Max speed limit of road using latitude and longitude in python environment

We are new to Here Api, Our team is working on one transportation project in which we required to get max speed limit of road using vehicle (latitude ,longitude). From last few days we are trying to figure out which api should we use in HereApi to…
Arnav A
  • 11