Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Obtain latitude and longitude from address without the use of Google API

Tags:

I am currently working on a large population-based database where it is required that I compute the distance between two addresses for each individual. My first train of thought was to obtain the latitude and longitude representing each address and then compute the distance. I used Google API's to obtain the latitude and longitude for these addresses via various packages in R (e.g. dismo). However Google has a restriction of 2500 requests in a 24hr period. I have about 300,000 addresses and by running 2,500/day, I will not be able to meet the deadline.

Would anyone have suggestions regarding other API's I could use to obtain the latitude and longitude using R?

Thank you.

like image 345
user1106711 Avatar asked Jan 30 '12 18:01

user1106711


People also ask

How do I find the latitude and longitude of an address in Google Sheets?

Select the Extensions menu to see the new Geocoding by SmartMonkey options, and select Geocode Details menu. The geocoding tool will create a new sheet with sample data and display results for three new columns: Latitude, Longitude, and Address found, as shown in Figure 2.15.

Is geocoding API free?

The Geocoding API uses a pay-as-you-go pricing model. Geocoding API requests generate calls to one of two SKUs depending on the type of request: basic or advanced.


1 Answers

I would recommend that you try the RDSTK package which interfaces with the Data Science Toolkit. It is available on github.

EDIT. To compute the Road Distance, I would recommend the Mapquest Directions API, which appears to have no preset limits as per this link. Let me know how it goes.

like image 97
Ramnath Avatar answered Oct 06 '22 01:10

Ramnath