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
3
votes
0 answers

API key with IP restriction vs HTTP Referrer restriction

i have a google maps api key set to "HTTP Referrer restriction" with also enabled geocode api and which is used in three plugins. But another plugin (booking) requires also geocode api but with "IP restriction" and that's why i get an error: " API…
nick papas
  • 39
  • 1
  • 2
3
votes
1 answer

JavaScript Promise not executing .then()

I was having some problem with Promise in JavaScript. What I am trying to do is I got a list of address, then for each address, I need to call the geocode API to get the lat lng, then I will proceed to plot the markers together with the heatmap.…
QWERTY
  • 2,303
  • 9
  • 44
  • 85
3
votes
1 answer

How do I convert city names to time zones?

Sorry if this is repetitive, but I've looked everywhere and can't seem to find anything that addresses my specific problem in R. I have a column with city names: cities <-data.frame(c("Sydney", "Dusseldorf", "LidCombe",…
cheesetaco
  • 145
  • 1
  • 1
  • 8
3
votes
1 answer

How to convert Lat Long to address in php with json api?

This is my code to get address off particular lat long dynamically from db.If i used this static value it works fine. but if i used $latlong this variable to get dynamic values. it shows error. what's the solution for this. please help me…
mahadev sutar
  • 171
  • 2
  • 16
3
votes
3 answers

Generate zip code based on City and State with Google API

Would there be a way to do a zip code lookup based on City/State input in a form? I'm thinking the Google geocode API might be the right direction. Any thoughts? I have a site built on Wordpress so the code would have to utilize PHP. Thanks in…
Rob Bennet
  • 477
  • 1
  • 9
  • 21
3
votes
2 answers

Geocode API does not recognize address, although google maps does

I am using Geocode API on a project, where users have a text input to enter an address. This address is found using Google Maps API, however, Geocode API cannot find the address. The strange part is that it works for some addresses, but for some…
Shend
  • 95
  • 1
  • 9
3
votes
1 answer

Google maps API function getlatlong

I have this code and problem is that $address_array extract just last position in the array. How should I fix it? HMTL
JQUERY
liop7410
  • 135
  • 1
  • 6
3
votes
2 answers

Google Geocode api returning incorrect result for a particular address

When I try to geocode one of the adress using Google geocode api, Google api returns an incorrect location. search address : republic of estonia result from google api: spain I am using javascript Google api to geocode the address. For some other…
Kash
  • 31
  • 2
3
votes
0 answers

How do I set up Python's Tweepy to collect only geotagged tweets for a certain location?

I'm absolutely new to Stack Overflow and fairly new to Python. After downloading Tweepy and using its basic function of searching keywords, I wanted to expand and search for only geotagged tweets based on a certain geographic location. I've found…
F. Wagner
  • 31
  • 2
3
votes
1 answer

Get State and County from Address

I want to have the State and county from an Address using geocode with Google API. This is my code: $geocode=file_get_contents('http://maps.google.com/maps/api/geocode/json?address='.$street.''.$plz.''.$city.'&sensor=false'); $output=…
Andi Wyder
  • 95
  • 11
3
votes
1 answer

geocode result different from google maps

I'm trying to geocode different IATA airport codes in Italy, with the following (rudimentary) code in ggmap (version 2.4) #list of all IATA codes geo_apt <- c("AOI", "BGY", "BLQ", "BRI", "CTA", "FCO", "LIN", "MXP", "NAP", "PMF", "PSA", "PSR",…
MaZe
  • 239
  • 1
  • 4
  • 13
3
votes
0 answers

R - Twitter - create timeline of tweets according to country (geographic location)

I am trying to create a timeline of tweets for a specific hashtag according to geographic location. The location should be a country. I would like to verify if my code below indeed filters the tweets by country (in this case France): tag=„NBA" #…
kanimbla
  • 858
  • 1
  • 9
  • 23
3
votes
1 answer

Ruby Geocode: Make a model 'geocoded' when latitude and longitude already exist from other source?

In my app I have a Model and am retrieving the lat and lng values for each row from an external API unrelated to Geocode. At this time all I need Geocode for is the .nearbys method which lets me find other nearby models within the default radius (50…
sixty4bit
  • 7,422
  • 7
  • 33
  • 57
3
votes
1 answer

Geocoding multiple addresses

I have searched high and low for a solution to this without luck, so I'm now posting here... I'm using the Geocode gem on my RoR app. This is the approach to geocoding multiple addresses on the same model in the docs and it doesn't work as it only…
Taylor
  • 177
  • 2
  • 11
3
votes
1 answer

Querying a perimeter around a Geocode-Location (Lat/Lon)

how can I search for geo-objects in a certain perimeter ? E.g. I have several objects with Lat/Lon coordinates stored in my DB. Now I want to retrieve all the objects which lie in a specific perimeter (10 miles or 20 miles) around a given point. I…
Tim
  • 31
  • 2