Geocoding an Excel file of addresses using Google...

26
Geocoding an Excel file of addresses using Google Maps Written by Barbara Parmenter, Tufts Geospatial Services, updated 2/21/14 This example uses Cambridge grocery stores from Reference USA Do not use this method for data that needs to be protected for privacy!!

Transcript of Geocoding an Excel file of addresses using Google...

Page 1: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Geocoding an Excel file of

addresses using Google MapsWritten by Barbara Parmenter, Tufts Geospatial Services, updated 2/21/14

This example uses Cambridge grocery

stores from Reference USA

Do not use this method for data that

needs to be protected for privacy!!

Page 2: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

To use Google Maps and convert to

ArcMap shape file, you will need…

A google account

Google Earth installed on your computer

(download from earth.google.com)

An Excel or .csv file of addresses (with

column headings)

Excel file limit in Google maps is a maximum

of 100 records and 15 columns

Page 3: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

We want to geocode this Excel file

using the address information

Page 4: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Google Map free geocoding limits:

100 records, max 15 columns…

Page 5: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

If you have a gmail or google account

and are using the old google maps…

Page 6: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

If you are using the new Google Maps:

Page 7: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

If you are using the new Google Maps:

Page 8: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 9: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 10: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 11: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 12: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 13: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 14: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,
Page 15: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Export to KML…

Page 16: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Download the file and move it to your

work folder…

Page 17: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

For some reason, this .kml file still

won’t import into ArcMap, so the

workaround is:

Make sure Google Earth is installed

(download it from earth.google.com if it isn’t)

Double click on your new

Cambridge_grocery_stores.xslx.kml file – this

will open it in Google Earth

Save it as a KMZ file

Import into ArcMap

Page 18: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Saving from Google Earth….

Page 19: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Saving as a KMZ file…

Page 20: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Now in ArcMap, go to Toolboxes…

Page 21: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Complete the import process…

Page 22: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

The result is a geodatabase and a new

.lyr file – you can change symbology

of the placemarks and labels

Page 23: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

To export this layer file to a shape file

if you prefer this to a geodatabase…

Page 24: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Export this layer file to a shape file…

Page 25: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Comparing the results with Reference

USA latitude/longitude coordinates…

Page 26: Geocoding an Excel file of addresses using Google Mapssites.tufts.edu/gis/files/2013/11/Geocoding-addresses-with-Google... · To use Google Maps and convert to ArcMap shape file,

Comparing the results with Reference

USA latitude/longitude coordinates…