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
2 answers

Google Maps API Geocode gives error "Invalid label" in Firefox

Today I struggled with the following: $.ajax({url:'http://maps.google.com/maps/api/geocode/jsonaddress=Karachi&sensor=false&output=json&callback=?', dataType: 'json', success: function(data){ //eval("("+data+")"); …
Bennystijn
  • 53
  • 1
  • 6
3
votes
8 answers

Country/City/state validation

I want to do the following things using PHP and jQuery https://www.careerbuilder.com/share/register.aspx?sc_cmp1=JS_LoginASPX_RegNow Steps Select a country from a dropdown list. The city dropdown list will fillup automatically with the list of…
M.M.H.Masud
  • 329
  • 3
  • 8
  • 22
3
votes
2 answers

Is there any API for converting Address to Timezone offset

Is there a API available for converting Address to Timezone? I have an idea of using Google GEOCODE API for converting Address to LAt long and then Timezone api to convert it into timezone. Is this is a viable option? Has anyone done this in…
sushsfdc
  • 31
  • 1
  • 2
3
votes
1 answer

google maps export driving directions to kml file - java geogoogle

Sorry at first for my poor grammar. I am writing a program in Java using geogoogle (Google Geocoder Java API) http://geo-google.sourceforge.net/ I need from two specific points to get the walking directions between these points and also these info…
maiky
  • 3,503
  • 7
  • 28
  • 28
3
votes
1 answer

Address Validator using Google Maps

I am creating a address validator web application using google maps.my UI: ] Now which I want is after pressing ok button address should be shown into your address look like field like this 701 1st, Sunnywale, CA 94089 now my ok button click event…
Atsy G
  • 73
  • 2
  • 7
3
votes
1 answer

java.io.IOException Service not Available found while running my android program

when running my android project one of my class which is used for geo-coding is showing an io exception like service not available i couldn't find what is the error here please someone help me to fix this My Class String addressInput = "Santa…
Hybrid Developer
  • 2,320
  • 1
  • 34
  • 55
3
votes
1 answer

setting language for reverse geocoding Gmaps v.3

do anybody now how to set language for reverse geocoding php response ? (always set en) **Here is the code** $api_key = "***"; $url = 'http://maps.google.com/maps/geo?q=49.8411860,30.1066580&output=json&sensor=true_or_false&key=' .…
Swyst
  • 91
  • 2
  • 4
3
votes
4 answers

Get City Name From Latitude And Longitude in android Gives Service Not Available Android 4.0.3?

I am using the Android 4.0.3 version in apps. Now I want to get the city name or other information from LATITUDE and LONGITUDE but when I run the apps is show me service not available. Logcat 01-10 13:58:29.279: W/System.err(1211):…
Mahesh
  • 1,559
  • 6
  • 27
  • 57
3
votes
4 answers

Google geocode. Parsing JSON issue

I want to get a users city, state/province, country from a google geocode of their postal/zip code (canada/usa). I retrieve the data as JSON: https://developers.google.com/maps/documentation/geocoding/#JSON The problem is that there is not always…
cantaffordavan
  • 1,427
  • 4
  • 24
  • 44
3
votes
1 answer

Geocoding with Google Maps API - updating existing marker rather than adding another

How, when geocoding, can you simply move an existing marker to the result of a new geocode result. Let's take this example: When the map loads, a marker appears When someone geocodes, the marker moves to the result The marker is draggable, so the…
DPSSpatial
  • 767
  • 3
  • 11
  • 31
3
votes
1 answer

GMaps.js : Trace route between two markers set by geocoding

I'm using this: http://hpneo.github.com/gmaps/examples.html I have two inputs where I put an address and I want to trace a route between the two points. I can add two markers, but I dont know how could I draw the route. Any idea on how to do…
Santiago
  • 2,405
  • 6
  • 31
  • 43
3
votes
2 answers

Google Maps API Geodecoder Limit

I've made a trip planner for bus and I had an idea. Instead of doing the request from a PHP page using AJAX when someone click on the map to setup the marker, I created a script using the method geocoder from Google Maps API in Javascript. Now,…
David Bélanger
  • 7,400
  • 4
  • 37
  • 55
3
votes
1 answer

geocoding location from input box

I'm new to google maps and simply trying to get the hang of it. I want to be able to type in a city or address, and then have the map load it and place a marker. Right now my map loads fine initially, but when I type in a city or address nothing…
user1406951
  • 454
  • 1
  • 10
  • 28
2
votes
1 answer

Why do I get a 401 Unauthorised error calling the Bing Geocode service from SharePoint but not from a WinForms app?

I'm developing a SharePoint Timer Job to geocode some lists of addresses held on our SharePoint site. I'm using code based on this MSDN sample to do the actual Geocoding request. The problem I get is that when I call the service from SharePoint 2010…
Tim
  • 163
  • 1
  • 1
  • 10
2
votes
2 answers

javascript - google geocode - closure/looping issue

I am calling a google api function repeatedly in a loop. Each time i want to remove one element of the address array. for(var i = 0; i < AddressObject.addressToArray.length; i++ ){ srPerformGeocode(AddressObject); …
Mustapha George
  • 2,497
  • 9
  • 47
  • 79