Questions tagged [reverse-geocoding]

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

The term geocoding generally refers to translating a human-readable address into a location on a map.

The process of doing the opposite, translating a location on the map into a human-readable address, is known as reverse geocoding.

878 questions
17
votes
2 answers

Deallocation while key value observers still registered (reverse geocoder)

When my view goes away I get the following message: An instance 0x1c11e0 of class MKAnnotationView was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some…
mlewis54
  • 2,372
  • 6
  • 36
  • 58
17
votes
12 answers

Get location name from Latitude & Longitude in iOS

I want to find current location name from latitude and longitude, Here is my code snippet I tried but my log shows null value in all the places except in placemark, placemark.ISOcountryCode and placemark.country I want value of placemark.locality…
Krunal
  • 6,440
  • 21
  • 91
  • 155
17
votes
4 answers

Looking for a good and free reverse geocoding API

I am familiar with two reverse geocoding APIs - Google Maps and foursquare. Both have problems. Consider lat,lng = 35.699,139.707 (Tokyo). Foursquare: GET…
mark
  • 59,016
  • 79
  • 296
  • 580
16
votes
4 answers

How can I change the language of Google Maps on the run?

I wan't to reverse geocode and get the address in two languages arabic and english so I want to get it in one language then change the language of the API and get the address in the other language, as I can't find a parameter to send to geocoder to…
15
votes
1 answer

Reverse Geocoding With Google Map API And PHP To Get Nearest Location Using Lat,Long coordinates

I need a function to get an nearest address or city from coordinates(lat,long) using google map api reverse geocoding and php... Please give some sample code
Murugesh
  • 820
  • 2
  • 12
  • 24
13
votes
2 answers

CLGeocoder reverseGeocodeLocation returns 'kCLErrorDomain error 9'

I'm developing an iOS app with reverse geocoding features according to this article: geocoding tutorial But when I test like this on simulator, I get 'kCLErrorDomain error 9'. I've searched a lot and there are only error 0 or 1 not 9. Here is my…
goofansu
  • 2,277
  • 3
  • 30
  • 48
13
votes
2 answers

Using Task.wait() application hangs and never returns

I am new to C# and using Task. I was trying to run this application but my application hangs every time. When I am adding task.wait(), it keeps waiting and never returns. Any help is much appreciated. EDIT: I want to call DownloadString…
PhantomM
  • 825
  • 6
  • 17
  • 34
12
votes
4 answers

Obtaining State abbreviation from getAdminArea();

I've attempted two different ways in trying to obtain the city name as well as the state abbreviation only from the Address class, with no luck. The first is returning the State like so "CA 92055" with the zip code, and the second attempt returns…
Joey
  • 221
  • 3
  • 10
12
votes
7 answers

Reverse Geocoding Without Web Access

I am working on an application where one of the requirements is that I be able to perform realtime reverse geocoding operations based on GPS data. In particular, I must be able to determine the state/province to which a latitude, longitude pair…
Paul Osborne
  • 5,024
  • 6
  • 24
  • 20
12
votes
4 answers

Android how to get the street name from an address returned by Geocoder

I'm using Geocoder in reverse way to get an address from a given lat & lon. Do you know how to get from Address only the street name? Geocoder geocoder = new Geocoder(AutoFinderMapActivity.this); try { List
addressList =…
Jorge Gil
  • 4,265
  • 5
  • 38
  • 57
11
votes
4 answers

Easiest way of getting reverse geocoded current location from iOS

I saw from another question here : Determine iPhone user's country that it is possible to get the current country the user of the iPhone is in. And that is quite convenient for many uses. However, would it be possible to go even deeper and infer…
kamziro
  • 7,882
  • 9
  • 55
  • 78
11
votes
2 answers

Loop for Reverse Geocoding in R

I am trying to reverse geocode a large data-set (around 100k). I used the revgeocode function from the package ggmap. I got the result for 1 entry 48 Grand View Terrace, San Francisco, CA 94114, USA 48 Grand View Terrace Eureka Valley…
marine8115
  • 588
  • 3
  • 22
11
votes
2 answers

How to get Latitude Longitude from more than 500 addresses?

I have more than 700 addresses in database. I want to plot them region wise. I have implement this code : public LatLng getSingleLocationFromAddress(String strAddress) { Geocoder coder = new Geocoder(this, Locale.getDefault()); …
user3675056
11
votes
2 answers

How to get city from coordinates?

I use google maps api 3 to get city from coordinates. I read the ReverseGeocoding but I did not understand how to have the correct city value from this type of…
Tab
  • 309
  • 2
  • 7
  • 16
10
votes
3 answers

swift 3 DispatchGroup leave causes crash when called in helper class function

I'm using DispatchGroup.enter() and leave() to process a helper class's reverseG async function. Problem is clear, I'm using mainViewController's object to call mainViewControllers's dispatchGroup.leave() in helper class! Is there a way to do…
1
2
3
58 59