Solved

Lat/Lon data source for addresses

Posted on 2012-03-22
7
1,017 Views
Last Modified: 2012-03-25
Hi Experts, I have been given an assignment of taking a list of addresses and determining the lat/lon for them.  I'm at a bit of a loss as to how this can be accomplished.  I did see a previously entered note here which did the job in HTML for a single address.  I didn't understand  how it was accomplished.  The best solution for me would most likely be an Access DB solution (I have 2010 installed on my PC but I think that the work would most likely be done in Access Basic (I'm familiar with Access 2007 Basic, not 2010 if there's any difference)).

Anyone have an idea as to how I can do this automatically instead of just typing in addesses manually into Google Maps and cutting and pasting the lat/lons into the list?

Rich

PS  For this process, let's assume the list of addresses I have will be in tab delimited format.  I can work with Acess Basic, Office VBA and I'm rusty in VB6.   I also have access to SQL Server but am just learning that now.  My strength is Access.
0
Comment
Question by:RichNH
7 Comments
 
LVL 3

Expert Comment

by:RCUllrich
ID: 37754976
You need to purchase a database or subscribe to a service to get the Latitude and Longitude for an address. In the past my client purchased a database that had the Latitude and longitude for every ZIP code in the US. However, that used a single value for each ZIP code (If I remember correctly it was the geographical center of the ZIP code.)

If you had an API for Google Maps or some other online service, then you could query that service with an address and get the Latitude and longitude.

The Google Maps APIs give developers several ways of embedding Google Maps into web pages, and allows for either simple use or extensive customization. There are now several API offerings:
•Google Maps Javascript API
•Google Maps API for Flash
•Google Static Maps API

If you operate an enterprise or commercial website, you may also be interested in Google Maps API for Business. (this option requires payment of a fee)
0
 
LVL 1

Expert Comment

by:ifpugnacious
ID: 37758365
This process is called "geocoding." If ZIP/Postal Code center isn't enough, e.g. you're really trying to locate the "house" or other structure, you will need to use a 3rd party service as RCUllrich describes above. Or you will need access to a Geographic Information System (GIS). I was involved with this exact problem for a previous client and we were using ESRI's ArcGIS.

Particularly if you have old (road names changed), new construction, or rural addresses, a significant number will fail to geocode, or you will get back a latitude and longitude but they won't be very accurate. Most of these systems work by interpolation of the number between road endpoints like intersections.

There doesn't appear to be a Geographic Information Systems (GIS) Zone here. But "GIS" and "geocoding" are the magic words.
0
 
LVL 26

Accepted Solution

by:
redmondb earned 500 total points
ID: 37761611
Hi, RichNH.

You may find Yahoo's PlaceFinder useful...
"Yahoo! PlaceFinder is a geocoding Web service that helps developers make their applications location-aware by converting street addresses or place names into geographic coordinates"

There's an Excel example at http://www.juiceanalytics.com/writing/excel-geocoding-tool-v2/. Don't use the original spreadsheet, instead there's an updated version from a user named "Max Rice" - http://dl.dropbox.com/u/19032952/Geocoding%20Tool%20v3.2-32bit.xls

"Max" has not only updated the code to use the new Yahoo API, but he has also kindly included his own Yahoo ID. However, if you're going to use this for a non-trivial number of addresses, you should register and use your own ID. (Yahoo limits each ID to 50,000 requests per day.)

Regards,
Brian.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 1

Author Closing Comment

by:RichNH
ID: 37762644
This looks like the cat's meow.  I do note something interesting in the app.  I have had several people tell me that their GPS units have taken them to the next driveway south of us instead of our drive.  When I used this app on my home address, it took me to the driveway south of me instead of my house, maybe a 50 yard error.  But I think this may be close enough for our purposes.  We will get a new Yahoo user ID for using this product.  Thank you again.
0
 
LVL 26

Expert Comment

by:redmondb
ID: 37762779
Thanks, RichNH. Glad to help.

Interesting that there's an apparently consistent error on your address. My guess, is that at some point, at least one organisation matched your address to slightly incorrect co-ordinates. I assume that the database in question was then used by a number of different companies - including Yahoo.

Of course, it's always possible that your neighbour is a lonely hacker. :)
0
 
LVL 1

Author Comment

by:RichNH
ID: 37762851
LOLOLOL, Perhaps,  he's married with a couple of small kids, but you can never tell...   :-)
0
 
LVL 26

Expert Comment

by:redmondb
ID: 37764019
They are his kids?  =:0
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have a large data set and a SSIS package. How can I load this file in multi threading?
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question