Questions tagged [geocode]

Geocoding is a method to assign spatial coordinates - like longitude and latitude on the Earth's surface - to a data record or object which represents an address or other geographic data.

Geocoding is a method to assign spatial coordinates - like longitude and latitude on the Earth's surface - to a data record or object which represents an address or other geographic data.


Useful links


Related tags

756 questions
4
votes
1 answer

Taking out a record from JSON format on specific position

I'm using google's geocode API to fetch data based on ZIP code that I pass like following: http://maps.googleapis.com/maps/api/geocode/json?address=97001&sensor=true I get a result like this: { "results" : [ { …
Jadin Stojadin
  • 215
  • 2
  • 14
4
votes
1 answer

Geocoding with Google Maps API - accuracy and limitations

It is easy to use the Google Maps API to find a specific street address and return the latitude and longitude. For example, link. However, it appears that typing in the name of a specific location, for example a park, causes problems. Often these…
user11977
  • 1,783
  • 11
  • 13
4
votes
1 answer

IOS 9 issue : CLGeocoder Network error code 2

CLLocation *location =[[CLLocation alloc]initWithLatitude:latitude longitude:longitude]; CLGeocoder *geocoder = [[CLGeocoder alloc] init]; [geocoder reverseGeocodeLocation:location completionHandler:^(NSArray *placemarks, NSError *error) { …
Mehul
  • 3,033
  • 23
  • 37
4
votes
1 answer

CLGeocoder Swift 2 Version

This used to work fine in Swift 1.2 but now gives the error: "Cannot invoke 'geocodeAddressString' with an argument list of type '(String, completionHandler: ([AnyObject]!, NSError!) -> Void)'" geocoder.geocodeAddressString(address,…
jimijon
  • 2,046
  • 1
  • 20
  • 39
4
votes
3 answers

How to get Timezone with geocode gem?

I have to add a time_zone_select into my Rails application. I was considering some gems to put a default value based on the user request, but I've seen that the project has already installed geocode gem for this purpose. Is there any way of get the…
Fran Martinez
  • 2,994
  • 2
  • 26
  • 38
4
votes
2 answers

How to resolve the cookieStore is not defined error in angular js?

Here when i click on storeAreaInCookie that will result the lat and long of the city those results i have to store in cookies and need to use where ever i want to use in my website.But when am tried to use this code it not storing the cookie and in…
4
votes
1 answer

Python tweepy find all tweets in the Netherlands

UPDATE BOTTOM OF THE QUESTION: I am attempting to create a script that generates all geocoded tweets in the Netherlands. I am a long way from getting there. While I was playing around with Tweepy I ran into a weird situation. I found a script online…
Zuenie
  • 963
  • 2
  • 11
  • 30
4
votes
0 answers

MQA.Nominatim: how do you pass various information to multiple MQA.Nominatim.constructPOI callbacks?

I use the mapquest MQA.Nominatim module to geocode addresses inside my java script code. I would like to pass additional information to the callback function MQA.Nominatim.constructPOI. This information should vary for each geolocation. I use…
4
votes
2 answers

Parse json from google maps reverse geocode?

How can I parse through the response from a reverse geocode using Google Maps JavaScript API v3. geocoder.geocode({'latLng': latlng}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { if…
Rudiger Kidd
  • 498
  • 1
  • 5
  • 23
4
votes
1 answer

i want specific area name provided pincode of that area

I need name of an area and city I pass the postal code as a parameter. For example I tried http://maps.google.com/maps/api/geocode/json?address=382340&components=country:in&sensor=false for a postal code in India. Although this is giving multiple…
4
votes
3 answers

Why am I getting this linker error in iOS when I create location strings from longitude and latitude?

I have the longitude and latitude from a location manager, now I am trying to reverse geo-code, to convert that information into address strings. I found the code below, that purportedly will do it, but I am getting a linker error. I think this…
OWolf
  • 5,012
  • 15
  • 58
  • 93
4
votes
1 answer

GMaps JS Geocode: Using/Passing Variables With Asynchronous Geocode Function?

I have an array list of location objects, and I am using some of them to build a full address, and then geocode that. Once I receive the OK status I am then placing a marker on the map. This all works fine. However, now I would also like to place…
3
votes
2 answers

setinterval or settimeout for google map v3

. I have 50 addresses coming from sql. Each address will be rendered inside a div LocationAddress. I loop through each of them, geocode and plot the marker in the map. But it only displays 11 of the. I know this is because of geocoder being…
Anjana Sharma
  • 4,535
  • 5
  • 37
  • 51
3
votes
2 answers

How do I discern a country from X/Y Coordinates (or Long/Lat)?

I have a number of XY coordinates and am looking to discern which country each of these are in, who knows a good service/way of doing this? I am working with MySQL & PHP, not that its really relevant, I am o fey with consuming web services/pages…
Woody Hayday
  • 336
  • 3
  • 8
3
votes
3 answers

Using Twitter API with Python (geocode)

How could I make the following call in Python? Pseudocode version: jsonTwitterResponse = twitter.get(up to max of 3 tweets within 3km of longitude: 7, latitude: 5) print jsonTwitterResponse It looks like the geocode API is…
Casey Patton
  • 4,021
  • 9
  • 41
  • 54