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

fetch all rows satisfying condition and then do some action for each row

I have a php webpage which finds all the users in 1km radius of latitude and longitude provided as input. The lat and long are given as input to database and it generates a list of 10 users as output. I want to send a message to each user of this…
Rishi Jasapara
  • 638
  • 9
  • 33
0
votes
1 answer

how to get status element from geocode url

i want to get the value of the status element from geocode url. { "results": [ { "address_components": [ { "long_name": "India", "short_name": "IN", …
ishk
  • 1,873
  • 5
  • 19
  • 22
0
votes
1 answer

use $.getJSON get data from google's geocode api, return 'Uncaught SyntaxError'

i got a "Uncaught SyntaxError: Unexpected token :" error. why and how to handle this error? thanks! $.getJSON("http://maps.google.com/maps/api/geocode/json?latlng=39.971277199999996,116.4864269&language=zh-CN&sensor=false&callback=?"); you can…
Robin
  • 634
  • 1
  • 7
  • 18
0
votes
2 answers

Do a geocoding Request as User/Guest, not the Server

I'm currently building a small commnunity where users can mark specific positions on a map. To save the Map points I need to save lat/lng to my database, but the user don't know lat/lng, so I have to use the (reverse) geocoding API. I've looked into…
Patrick
  • 413
  • 6
  • 12
0
votes
1 answer

Geocode on autocomplete click

This is the code I am working from: http://jsfiddle.net/njDvn/75/ var GeoCoded = {done: false}; $(document).ready(function(){ console.log('ready!'); autosuggest(); console.log($('#myform input[type="submit"]')); …
J.Zil
  • 2,397
  • 7
  • 44
  • 78
0
votes
3 answers

Adding Autocomplete to Google Geocoder

After my recent success (with help from here), I wanted to finish up my script. Google agreed that it was ok to put the geocoded map result on the second page so I want to strip out the map display from my geocoding script on the first page. I have…
Jimmy
  • 12,087
  • 28
  • 102
  • 192
0
votes
1 answer

Minimal google geocoder not returning any result

Preface: I have contacted google and read the documentation. When this is finished it will display the map on the next page and have autosuggest on the first - I will not be violating the terms and conditions this way, so please dont start a flame…
Jimmy
  • 12,087
  • 28
  • 102
  • 192
0
votes
3 answers

Google Geocoder - Add co-ordinates to fields

I am trying to find some minamilistic google geocoding script. The ones I have found are very large and complicated, but this one is very simple. The only thing it doesnt do is actually put the co-ordinates in two input boxes like the others. Here…
Jimmy
  • 12,087
  • 28
  • 102
  • 192
0
votes
1 answer

Reverse geocode and appending address details

I have an app that reverse geocodes latitude & longitude into readable addresses. Here is a sample of the code below: protected List
doInBackground(Double... params) { try { List
addresses =…
GrumP
  • 1,183
  • 6
  • 19
  • 43
0
votes
1 answer

Rails search with where and geocode near at the same time

Is there a way I could search with both a where condition and a near condition at the same time, showing results for both. Basically, I want a search bar where a user could enter a name of a person, but they could also enter a location and the…
nikorablin
  • 119
  • 10
0
votes
1 answer

some options dont work in mapquest api

I am working with the mapquest open geocoding api and some of the options don't work when POST ing requests to the api. For example, this HTTP GET request adheres to the ignoreLatLngInput, thumbMaps and maxResults…
kirley
  • 330
  • 2
  • 10
0
votes
2 answers

Geocoder Geocode - Google Maps javascript API

I have a problem with the below function: function geo(address) { geocoder.geocode( { 'address': address}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { return results[0].geometry.location; …
user864720
0
votes
1 answer

Google Maps & Geocode

I started playing around with Google Maps API yesterday, very interesting.. Having a slight issue though.. I'm attempting to make a search function which uses geocode. For some reason it doesn't move the map to the retrieved search results area. I…
Paul
  • 13
  • 5
0
votes
1 answer

Bing GeocodeService userState usage as custom additional parameter

In my Windows Phone 7.1 application I have to send a request that consumes Bing geocoding services (using the address: http://dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc/mex, without setting the option Always generate…
MAXE
  • 4,978
  • 2
  • 45
  • 61
0
votes
1 answer

Switch images based on client geography, zip code, location?

My issue is a simple one, but the solution may not be. My company has several franchise locations all over the country. We have been building separate "minisites" for each location; however, we would like to simply geocode our main site to be able…
Ben McCoy
  • 41
  • 1
  • 1
  • 3