Questions tagged [reversegeocodelocation]
20 questions
6
votes
1 answer
iOS 13 Simulator: reverseGeocodeLocation - [GEOAddressObject] [NSLocale currentLocale] failed for NSLocaleCountryCode@
Whenever I'm calling:
reverseGeocodeLocation(_ location: CLLocation, preferredLocale locale: Locale?, completionHandler: @escaping CLGeocodeCompletionHandler)
I'm getting in the console:
[GEOAddressObject] [NSLocale currentLocale] failed for…

Chris
- 107
- 1
- 10
5
votes
1 answer
CLGeocoder reverseGeocodeLocation is returning placemark with different lat/long? (playground example attached)
Why does CLGeocoder reverseGeocodeLocation return a placemark with different lat/long when it looks up address?
Background: In terms of a user "long pressing" on the map to drop a pin, but my code reverse Geocoding this to be able to put an area…

Greg
- 34,042
- 79
- 253
- 454
5
votes
2 answers
Sort a list by distance using reversed Geolocation
I'm using Xcode 7 with iOS9. I want to sort a list ascending, based on distance from users current location to all other locations in the list.
I don't want to calculate the distance to a location by coordinates, but by address because the…

newbiedevelopper
- 191
- 2
- 9
3
votes
2 answers
GMSGeocoder.reverseGeocodeCoordinate throws fatal error
When I try to reverse a coordinate which is somewhere in the South Atlantic Ocean,
let geocoder = GMSGeocoder.init()
let coordinate = CLLocationCoordinate2D.init(
latitude: -33.724339999999998,
longitude:…

Okan Kocyigit
- 13,203
- 18
- 70
- 129
2
votes
4 answers
Extract json array data using javascript
I would like to obtain the formatted_address from the json data returned from the following query string by using javascript.
http://maps.googleapis.com/maps/api/geocode/json?latlng=44.4647452,7.3553838&sensor=true
function…

Jonathan
- 39
- 7
2
votes
2 answers
SWIFT - LocationManager looping through multiple times?
I have a locationManager function to grab the users current location and posting the name of the city and state. I have a print statement so I can check in my console if everything is working properly...and it is. However, it prints the city…

Matty
- 343
- 1
- 5
- 16
1
vote
0 answers
Swift, How to sync reverseGeocodeLocation function (by using semaphore or dispatch group....etc)
In viewDidLoad, I call reverseGeocodeLocation to get geo info. but It is async API and I need a sync flow. However, I could not sync this flow. because when I inject semaphore in the flow, reverseGeocodeLocation's completion handler is not working…

Songwon Park
- 125
- 1
- 11
1
vote
1 answer
Reverse Geocode Location: more accuracy than range
I want to get a more accurate address (from coordinates) than the address range from the function
geoCoder.reverseGeocodeLocation(location, completionHandler: {} )
In the google maps API guide …
1
vote
0 answers
reverseGeocodeLocation's completion Handler not getting called
I have written my code to get the current location of the user as follows-
-(void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations{
CLLocation *currentLocation=[locations lastObject];
if…

Tejasvi Tandon
- 65
- 2
- 10
0
votes
1 answer
Is Batch processing available in google geocode API
I have gone through google geocode documenation:
https://developers.google.com/maps/documentation/geocoding/requests-geocoding
It says:
50 requests per second, calculated as the sum of client-side and server-side queries.
However I didnt find any…

Hema Mounika
- 1
- 1
0
votes
1 answer
How to get State name from Latitude and Longitude in India
I know this is asked before, but my problem is different. I don't want to use any map provider like Google, Here since the number of co-ordinates I want to get state is huge (30,000 to 40,000).
I am curious that there should be any static library…

Probhakar Sarkar
- 169
- 10
0
votes
0 answers
Can't able to fetch the user location in meteor
I developed a meteor app in which while registering I am fetching the user location at the client side, to do so I have added the packages listed below:
meteor add mdg:geolocation
meteor add jeremy:geocomplete
meteor aldeed:geocoder …

user10396319
- 33
- 1
- 7
0
votes
1 answer
How can I use a country boundary geojson file to determine the country of a coordinate?
I want to have a fast, lightweight and offline method to determine a country from a coordinates. I researched for a long time and found that there is boundary file in geojson format
How can I use it in java? thank you

DayDayHappy
- 1,679
- 1
- 15
- 26
0
votes
1 answer
What is the best way to convert latitude/longitudes into a street address at a high scale in batch?
The existing questions are related to real-time needs; the answers are API-based solutions.
These solutions are not well suited to do a large batch task.
Convert Latitude/Longitude To Address
This solution suggests caching google results for a…

rysqui
- 2,779
- 2
- 19
- 26
0
votes
1 answer
How to get nearby address through reverseGeocodeLocation if location address is nil?
I am trying to get address of location through reverseGeocodeLocation but sometimes it returns nil address, what I want is get nearby address if reverseGeocodeLocation returns nil address for any particular location.
public class func…

Varun Naharia
- 5,318
- 10
- 50
- 84