geocoding

How can I find the nearest intersection via the Google Maps API?

How can I find the closest intersection of the street I have coordinates of? For instance, say I have street A running from south to north that is crossed by street X on the north and by street Y on the south. Does the Google Maps API allow for finding coordinates of the nearest crossroad (either X or Y) of street A? I couldn't find it...

Determining if a lat-long circle and a circle on a sphere overlap

I am creating an application with Geo Proximity Search capability using PHP as server scripting language and MySQL as Databse. Consider a situation: Where we have certain set of objects having latitude and longitude positions assosciated with respective objects. On specifying location details like country and/or city along with range/r...

iPhone - access location information from a photo.

Is it possible, in an iPhone app, to extract location information (geocode, I suppose it's called) from a photo taken with the iPhone camera? If there is no API call to do it, is there any known way to parse the bytes of data to extract the information? Something I can roll on my own? ...

cleaning up missed geocoding (or general advise on data cleaning)

I've got a rather large database of location addresses (500k+) from around the world. Though lots of the address are duplicates or near duplicates. Whenever a new address is entered, I check to see if it is in the database already, and if so, i take the already existing lat/long and apply it to the new entry. The reason I don't link t...

Google's GeoCode XML Response - Understanding the response...

Hey guys, throughout google's GoogleMap API, the standard coordinates formating is Latitude first, then Longitude, i.e: -33.4487470,151.3425040 Why is it that, in GeoCode's XML response, the data is backwards in the coordinates node? i.e: <coordinates> 151.3425040,-33.4487470,0</coordinates> Also, could anyone shed some light on the...

Google Maps Find Nearest Utilities

How can I find the nearest hospital/fire department or anything like that around a specific city/area? If you go to maps.google.com, then you type "San Francisco", then type "hospital", you will see all the hospitals around San Francisco. Can the same thing be applied using geocoder? Thanks a bunch! Additional Note: I'm trying to use...

Easy to implement .net library for geocoding using a free service?

I need to geocode adresses (get lat/long from addresses) using in .Net, to store in the database. What is the library/project to look into, to get that done? After a search here, on google and codeplex.com, I have found there to be a few options, that seem like they will do what I ask for... But some of them could be crap and a waste ...

Google Maps Geocoding problem

Hi. I am playing around with Google Maps for the first time. And I am struggling to extact some information about the location where the marker is. I have set up an example for you to see. The problem happens when I drag the A-node, the getGeocode() returns undefined? I need to extract zip-code, city, and address from the node when I ...

API for retrieving driving directions and traffic data?

I'm interested in working on a side-project at work that integrates traffic data and automated route planning with our dispatching application. However, it seems that Google Maps and the Microsoft Virtual Earth Platform place restrictions that interfere with what I would like to do. Is there an API (free or commercial) that allows the f...

Google geocoding API (City => long, lat)

Does Google offer a RESTful API where I can pass it a city name (or zip) and it returns the longitude & latitude. I know how to do this with using the Google Maps API, but I really don't want to have my users download the huge 200k Google Maps API solely so that I can geocode a location. Does anyone know of a URL based (REST) city/zip ...

Google Geocode via HTTP callback function?

I want to use the google geocode via HTTP functionality to translate a city name into longitude and latitude in for my AJAX web application. However, it appears that no callback function exists for the HTTP geocoder functionality http://code.google.com/apis/maps/documentation/geocoding/index.html Is that true, no callback function exi...

using jquery.getJson with Google's GeoCoding HTTP Service

Google offers a wonderful REST interface for geocoding and reverse geocoding an address. My API key is valid, and if I enter the request directly into the browser address it works great. However, the following jquery fails terrible and I'm failing to see why. Hoping you could help me out here. $.getJSON("http://maps.google.com/maps/geo?...

Google Geocoding Weirdness

Hello guys, I am having a weird problem. Suddenly my PHP implementation of the Google Geocoding API has simply decided to stop working. It now returns error 602 for every request, meaning address unavailable. But, if I open the actual url I am querying, it works perfectly and I can download the correct information. But if I use curl to ...

Avoiding graphical CAPTCHA by checking against OpenStreetMap

I am writing a subscription app for a rallye site. As the subscription doesn't need former registration, a captcha should be useful. The subscription is team-based. One team include 1 to 3 person. for each person an postal address must be provided. Now I wonder, if it makes sense to check if the city exists and the provided street is ...

parse google geocode with xstream

I'm using Java and XStream to parse a google geocode request over http. My idea is to have an Address class with all the geocode attr's (ie. lat/long, city, provice/state etc) but I'm having problems parsing the xml with xstream. The google response is similar to this: <?xml version="1.0" encoding="UTF-8" ?> <kml xmlns="http://earth.g...

Using the google maps api for reverse geocoding lat/long from iPhone

I am currently using the google maps' reverse geocoding API to convert long/lat received from an iPhone's CoreLocation API into city/state information on a google app engine server. Would this be considered a violation of the terms? I've done some research and cannot find a direct answer to this question. Right now, we will be distrib...

Geographical data encoding (standard codes for countries/regions/cities)

Hi, is there a standard way to encode the user location (country, state/region, town), so that I can ask the user to select these items upon registration and then use this data to show his location on the map? ...

Looking for a free Geolocation Service (from Country/Prov/City) or Database?

I am looking for a free service (providing a web service or a database that gets updated regularly) that will allow me to retrieve the Geolocations (Long/Lat) for Country/Prov/City. Yahoo & Google's API's are unacceptable as they limit the total amount of requests DAILY. ...

Geocode database

Hi, Can I download address,city,state,postalcode - latitude/longitude information, that can be loaded to a db for US alone.. Also do comment about their accuracy and coverage.. I suppose all GPS devices do this.. any pointers where I can extract this info?? I tried google maps json api.. and don't like the idea that they rate limit the...

How to geocode a phone number in the United States?

I am looking for a way to get the latitude and longitude coordinates of any area code + prefix land line phone in the United States. Does anyone know of a data provider or service that could be used to do this? EDIT: I understand that the location of cell phones or VOIP lines probably cannot be geocoded and this is fine by me. I am ...