geocoding

Is there a way to accurately determine which city in US the user is in using Android Location Manager?

I am trying to determine the city in USA the user is in using their current location from an Android App. I want to use the GPS as the location provider but how accurately can I determine the name of the city from the Locale or Latitude / Longitude data. For instance I noticed the twitter app determines you are in Manhattan when tweetin...

How can I use Google's Geocoding to normalize addresses without violating the terms of service?

I'm working on a API that will accept addresses in searches. We would like to use Google's geocoding service to normalize the addresses before submitting the search criteria to our search engine. This caught my attention: http://code.google.com/apis/maps/documentation/geocoding/index.html#Limits "Note: the Geocoding API may only be u...

Calculate distance between Zip Codes... AND users.

This is more of a challenge question than something I urgently need, so don't spend all day on it guys. I built a dating site (long gone) back in 2000 or so, and one of the challenges was calculating the distance between users so we could present your "matches" within an X mile radius. To just state the problem, given the following dat...

Google maps returning incorrect/weird results versus maps.google.com

I'm using the Google Maps Geolocater API v3 for autocompleting of inputfields. The results that get returned are not as I expect. For Example: I try to search for "Leeuwarden" (city in Holland). After typing just 4 letters: "Leeu" it will provide the option for Leeuwarden. If I try this with the google api: http://maps.googleapis.co...

Recommend a web service that handles location within a specific radius?

We have a client that wants a store locator on their website. I've been asked to find a webservice that will allow us to send a zipcode as a request and have it return locations within x radius. We found this, but it's maintained by a single person, and doesn't look like it gets updated or supported very well. We're looking for something...

Determine the Scale Factor in Maps

Given only the set of coordinates, is there a way to find the scale factor being used? It will then be used to compute the distances between the coordinates. Let's consider this: On a map scale: (This is the only given) pointA(33.511615, -86.778809) pointB(34.398558, -87.669116) On a real world scale: Distance between the 2 poi...

Google Maps: how to get country, state/province/region, city given a lat/long value?

I need a list of countries, states & cities based on a collection of lat/long values I have. I need to store this information in a manner that hierarchy is preserve and without duplicates (e.g. "USA" and "United States" and "United States of America" are the same country; I only want one instance of this country in my database). Is this...

Geocoding API - Return Address Matches with given radius, city, or bounding box

I have an application that takes in an address in one of the following formats: 1234 Test Ave 1234 Test Ave, 43201 1234 Test Ave, Columbus, OH I am looking for a geocoding solution that will work with the first format, which is simply a street address with no city or zip code data. When a user enters a street address, ...

Google Map API v2 - GeoCoder - how to customize a marker ?

I try to add/customize markers with Gmap V2 by using this way (example) : for (var i in table){ var myvar = table[i]['text'] ; var myaddress = table[i]['address'] ; geocoder.getLatLng( myaddress , function(point) { alert(myvar) ; // here myvar is wrong // ... adding customer markers ... ...

Google Maps Geocode Undefined

I have this code which is initated on load // Display the map function map_it() { var myLatlng = new google.maps.LatLng(13.005621, 77.577531); var myOptions = { zoom: zoomLevel, center: myLatlng, disableDefaultUI: true, mapTypeId: google.maps.MapTypeId.ROADMAP, navigationControl: true, ...

Weird Great Circle Distance calculation

Hi, I have some problems with a great circle distance calculation using a map. Context: http://airports.palzkill.de/search/ The map is supposed to work as a great circle distance search map - you move the circles center marker or the radius marker, and the circle gets smaller or larger. For debug purposes, the boxes title field shows ...

Equivlent Objective-C code for Google Maps GMap2.getBoundsZoomLevel(bounds)?

Hi all, I'm familiar with the Google Maps API and I'm trying to learned the iOS MapKit library now. I have an iPhone application which takes an input string and geocodes it using Google Maps geocoder service. I also want to set an appropriate zoom level for the new map but I'm not quite sure how to do it. After reading, http://stacko...

Tips for Database Design of Website with international Users

Hello Friends, i am developing a dating website, in which users can register from all over the World. The Dating section is divided into cities from again, all over the World. The Problem i see here is, i do not have a database that covers all cities around the Globe. I am confirming every user by hand so this gives me the opportunity...

Autofill Address + Google Maps API

I want to present my users with a text box wherein they can type in their address. As they type their address, I want to provide the users with suggestions/predictions of what address they are trying to type. I'm also concerned about the relevance of this address (e.g. that the address is not an address halfway across the world). Is thi...

Region Biasing with Google Maps

My users, who may be located anywhere in the world, will be presented with a text box wherein they can enter their address. In most cases, I assume they will physically be in the same country as whatever address they are typing. I'd like to help Google Map API make better guesses by doing region biasing (http://code.google.com/apis/maps...