geocoding tutorial using google fusion...

11
Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning latitude and longitude coordinates to an item described in terms of its postal address. There are different ways to geocode. This tutorial will describe how to geocode a set of Canadian addresses and displaying them on a google map using Google Fusion Tables. Note: To use Google Fusion Tables you must have a Google Account. If you do not have one, but would like to create one, you can follow this link: https://accounts.google.com/NewAccount Your data should be formatted so that you have one column for the entire address. Google Fusion Tables will use the left-most column data to geocode. If you have address data in multiple columns, you can easily combine them in Excel. 1. Our example is a list of community centres in Toronto. You can download it from http://maps.library.utoronto.ca/datapub/helpsheets/communitycentres.xls . In our example we have all files saved to C:\Test\GeocodingExample2. The spreadsheet has names of community centres and their addresses, one per row:

Upload: lemien

Post on 12-Mar-2018

252 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

Geocoding Tutorial using Google Fusion Tables

Geocoding involves assigning latitude and longitude coordinates to an item described in terms of its postal address. There are different ways to geocode. This tutorial will describe how to geocode a set of Canadian addresses and displaying them on a google map using Google Fusion Tables. Note: To use Google Fusion Tables you must have a Google Account. If you do not have one, but would like to create one, you can follow this link: https://accounts.google.com/NewAccount Your data should be formatted so that you have one column for the entire address. Google Fusion Tables will use the left-most column data to geocode. If you have address data in multiple columns, you can easily combine them in Excel.

1. Our example is a list of community centres in Toronto. You can download it from http://maps.library.utoronto.ca/datapub/helpsheets/communitycentres.xls. In our example we have all files saved to C:\Test\GeocodingExample2. The spreadsheet has names of community centres and their addresses, one per row:

Page 2: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

2. The address data in our example is not all in the same column. To

combine it, insert a new column to the left of the Address column by clicking once on column B to highlight it, and then right clicking on it and selecting Insert.

3. Give the new column B a description name. For our example, we will use FullAddress.

Page 3: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

4. Next, we will use Excel’s concatenate function to merge all the address

information together into one column. Click in cell B2, type in the formula box =concatenate(C2, “ “, D2, “ “, E2, “ “, F2) and hit Enter.

5. Click once in cell B2 again and then double click on the small black box that appears on the bottom right corner of the cell. This will automatically copy that formula down the column for all the rows with data.

Page 4: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

6. Now column B should have the complete address for each community

centre.

7. Next, go to Google Fusion Tables: http://www.google.com/fusiontables/

8. Click on See My Tables.

Page 5: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

9. Next, it will prompt you to log into your Google account. Once you log in, it

will bring you to your list of Google documents.

10. Click on Create:

Page 6: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

11. Click on Table (beta):

12. Highlight From this computer and click on the Browse… button to browse to your Excel file of addresses.

Page 7: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

13. Click on Next.

14. Make sure that the data is displayed correctly, and that the first row has been identified as column headings. Click on Next.

Page 8: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

15. Here you can enter metadata to describe your table or accept the defaults.

Once you are finished, click on Finish.

16. Once it imports the data, it will display the table and highlight what column it thinks has the address information. Verify that the FullAddress column is highlighted.

Page 9: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

17. Select Visualize->Map to geocode your points and place them on a

google map.

18. Once it is complete, your map will be displayed. Your map may be zoomed out, so use the controls on the far left to zoom in, by clicking on the plus sign icon, and to pan to the correct spot on the map, by using the up/down/left/right pan icon.

Page 10: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

19. Once you have zoomed in to the correct location, your map should look

like the following below, and by clicking on one of the red points, you will be able to see all the information in your table regarding that location.

20. You can export your map to a KML file by click on Export to KML.

Page 11: Geocoding Tutorial using Google Fusion Tablesmaps.library.utoronto.ca/docs/GeocodingFusionTables.pdf · Geocoding Tutorial using Google Fusion Tables Geocoding involves assigning

21. You will be prompted to save the file or open it up in Google Earth.

22. With a KML file representing your map you can save it, work with it using Google Earth, embed it in a webpage, or link to it from your own website. See this link for more information: http://code.google.com/apis/kml/documentation/kml_tut.html

23. For more information about Google Fusion Tables go to

http://www.google.com/fusiontables/public/tour/index.html

If you have any questions or comments, please contact us at [email protected].

U:\staff\docs\Help Sheets and Workshops\Geocoding Tutorial using Google

Fusion Tables.doc

http://maps.library.utoronto.ca/docs/GeocodingFusionTables.pdf