geocoding

Google maps geocoding service

I am using google maps API geocoding service to get location's country name, postal code etc. JSON response: { "name": "1600 Amphitheatre Parkway, Mountain View, CA, USA", "Status": { "code": 200, "request": "geocode" }, "Placemark": [ { "address": "1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA", ...

how to geocode phone number

I have a list of phone numbers with area code prefixes that I want to find a latitude/longitude location for. Is there a library (ideally Python) or service that can do this? ...

Get Latitude and Longitude under cursor in GoogleMaps without map.onMouseMove

I have GoogleMaps-object. Also I have SouthWest and NorthEast point in GLatLng-format. Also I have (x,y) of cursor over my object. I want know GLatLng under cursor without use map.onMouseMove (only use DOM-onMouveMove). I try write JavaScript-code: var w = map.getSize().width; var h = map.getSize().height; var le...

Best Geocoding Service for iPhone Developers

I have made an app that gets an array of addresses from a web service and I want to map them. I know Apple left this out in MapKit, including only a reverse GeoCoder. I was wondering what the best way to approach this problem was. Web Service? Google Maps API (How do API keys work?)? CloudMade? What is your opinions on which service is ...

Calculating Google map's viewport?

Hi, I'm doing a bit of geocoding using Google Local Search and need to be able to set the viewport of a google maps api v3 object on the page. Now this is fine if google local search has returned me a good viewport as it does for a postcode or street but if i put in the name of a bar for example. The viewport returned is very large pre...

Calculate distance and duration through in Google Maps

I need to calculate the distance and the duration through geocodes using Google Maps (within India). Any code or solution would help. ...

Best way to obtain geocode for location, in flash

Ok quite frustrated by Twitter search api for location based searches. In the advanced search page you can specify 'near' a specific location and this 'near' parameter shows up clearly in the query string. However, Twitter does not support the use of 'near' in the public search api. Apparently you need to supply a geocode value. Can ...

How do I Geocode 20 addresses without receiving a OVER_QUERY_LIMIT response?

Using the Google Geocoder v3, if I try to geocode 20 addresses, I get a OVER_QUERY_LIMIT unless I time them to be ~1 second apart, but then it takes 20 seconds before the markers are all placed. Is there any other way to do it, other than storing the coordinates in advance? ...

Is there any gmap’s api function to concatenate address string from AddressDetails structure?

Hello! I’am using Google Map’s GClientGeocoder for reversing map coordinates into string address. Exactly as shown in google’s example here http://code.google.com/apis/ajax/playground/?exp=maps#geocoding_reverse But, I would like to remove LocalityName (place.AddressDetails.Country.AdministrativeArea.Locality.LocalityName) from place.ad...

getting bordering US states (php)

HI need to be able to select a state and be given a list of the bordering states. Does anyone have or know of code already done for this? If I have to write it myself, what would be the best way - possibly a mysql database of borders (two state columns for each row), and then select matching? EDIT: here's a start - list of borders: ...

Service reference addition issue in visual studio 2010

I am currently working on an application that allows reverse geocoding using silverlight + bing maps. The thing is that I want to add a reference to the reverse geocoding service provided in msdn ( http://msdn.microsoft.com/en-us/library/cc879136.aspx) i.e. http:// dev.virtualearth.net/webservices/v1/geocodeservice/geocodeservice.svc?wsd...

Geocoding Chinese addresses using Google Maps API in Python?

I have looked into Geopy and googlemaps (http://py-googlemaps.sourceforge.net/) and they both do not work for Chinese addresses. My app is stored on the Google App Engine. What I want to do is to parse a file containing addresses of restaurants in Hong Kong, and then Geocode the addresses and store the Lat and Lng in the datastore. How d...

Geo: Need to convert a "place name" into an "canonical place name"

Our users can enter their location into a free-form text field, like "Austin TX", or even "The Motor City". How can I take this information and turn it into a canonical name? For example, "The Motor City" would be Detroit, MI. They might even enter a zipcode or an address. I'm planning on storing the place name, or the lat/long, or the ...

Is geocoding possible with a phone that's not GPS enabled?

For instance, can I visit a website and get the location that way? I know you can do it with HTML5, but will that work on phones? ...

How do I use my own maps instead of google maps?

Hello! Is it possible to use my own map instead of google maps for my app. How can I do that...Where should I look? ...

database for streets world wide?

i use the downloadable geonames database for all countries, states, counties and cities in the world. but i wonder if there is a database for streets? so you could pick: country -> state/department/district -> (county/region) -> city -> street in whatever country you like? cause when i do a search for a street in google map i can see ...

Showing each step geocode of directions

Hello, Google Maps API can build a Direction from a source to a destination. In the following Google's example, each step are published into the HTML code: http://code.google.com/apis/maps/documentation/examples/directions-simple.html I would like to get the Geocoding of each step of this direction, and store them in a array. I believ...

Using Geo APIs to pick a random town from anywhere in the world

Hi all, I'm trying to use Yahoo's excellent GeoPlanet API: http://developer.yahoo.com/geo/geoplanet/guide/api-reference.html I would like to pick a random town from anywhere in the world but can't see an easy way to do it. I have tried querying by country and asking for children of type 'town', but can't seem to do that directly. Can ...

AJAX Callback and Javascript class variables assignments

I am trying to build a little javascript class for geocoding addresses trough Google Maps API. I am learning Javascript and AJAX and I still can't figure out how can I initialize class variables trough a callback: // Here is the Location class, it takes an address and // initialize a GClientGeocoder. this.coord[] is where we'l...

Zip Code Radius Search question...

I'm wondering if it's possible to find all points by longitude and latitude within X radius of one point? So, if I provide a latitude/longitude of -76.0000, 38.0000, is it possible to simply find all the possible coordinates within (for example) a 10 mile radius of that? I know that there's a way to calculate the distance between t...