categories

Powered By Blogger

Wednesday, August 1, 2012

'G' Map With Excel Data and Fusion Tables,HOW?


#  Get your information together. There are several formats that could be used, but we're going to use a Comma Separated Value (.csv) [[Make a Spreadsheet in Excel|spreadsheet]] like [[Make a Spreadsheet in Excel|Excel]] to organize our data. You can put any kind of information that might be useful into this [[Export a CSV Contacts File to Your Blackberry|.csv file]], but be sure to include the full address in one field. Download the sample address.csv file suggested in the "Sources and Citations" below. Below is an example of what a row of data would look like:<br><br>Joe's Diner, 1 Main St Lakewood NY 14750, 800-123-4567


#  Log in to Google Fusion Tables. Open a web [[Choose an Internet Browser|browser]] and go to http://www.google.com/fusiontables. If you have a [[Make a Google Account|Google account]], use that to sign in. If you don't have a Google account then you'll have to create one.


#  Once signed in, you'll see a list of public tables. What you will do first is click the gray "New Table" button that is on the left of the screen. This will bring up a drop-down menu where you will then select "Import Table".


#  The "Import" page will pop up in a new browser tab or window, so be sure it isn't blocked by any [[Turn on Pop up Blocker|pop-up blockers]] on your computer. In this window, you'll be given options as to where you will import from. "From This Computer" will be selected, which is what you want, and you'll then click the "Choose File" button. This will allow you to browse through your computer and select the address.csv (or whatever .csv file you wish to use) to upload to the fusion tables site. Once you've selected it, click the "Next" button on the bottom right.


#  After clicking "Next", your .csv file will start to be uploaded. Once finished, you'll see a preview of the data and all the columns in the spreadsheet. There will be a check box above each column, columns that will be imported will have a check mark. If your [[Make a Spreadsheet in Excel|spreadsheet]] had a header row for column names, it should have known this and selected that row as the header. Click the "Next" button.


#  The final import screen will allow you to set any table descriptions. You can leave these settings as they are. Click on the "Finish" button on the bottom right to create the fusion table.


#* When the import has finished you'll see a table view of your data. Any column that is able to be translated into a map location will be highlighted in yellow and will have a small globe icon next to it when the mouse is over that field. For our address.csv file, the address column is highlighted. If you click that globe, it will translate the address to a [[Get Longitude and Latitude from Google Maps|Latitude/Longitude]] location. But we don't have to do that, later the fusion table will do it for us!


#* If your data does not have a column highlighted in yellow, that means that the Fusion Tables weren't able to automatically pick a column that specified a location.  To do this, click the Edit menu, then select Edit Columns.  From here you will click on the column that holds your location data.  After clicking, on the right you will see a drop down list labeled Type.  Select Location from the drop down list, then click Save in the bottom left of this screen.  After this, your column should be highlighted yellow.


#  In order for people to see this data outside of the FusionTables site, we'll have to "Share" it. On the right of the screen there is a share button; click it. You'll see that this table is set to private, so you will have to change it to Unlisted or Public in order to have it viewed in your website.  It is recommended that you select "Unlisted" – this means you can share the data – but people can't search for and find it on the FusionTables site. After selecting "Unlisted", click the X in the top right to close this screen.


# Once you have your address data and it's on Google's site, it's time to map it! This is so easy, it's almost wrong. In the Menu there are options for File, View, Edit, Visualize, Merge. Click "Visualize" and then select "Map".


#*Your address data is now automatically translated into a map location and a map marker is placed on a [[Add Google Maps to Your Website or Blog|Google Map]] for each valid location!


#  Click the link on the right that says "Get Embeddable Link". This will display a text box with automatically generated html code for you to place on your web page. Also notice that if you click a marker, all the information for that record shows up in a nice message window.


#  You may have noticed that not all of the addresses were translated to a map location. Click the Visualize menu and select "Table"; you'll see the rows that were not translated are still [[Highlight Text in a PDF Document|highlighted]] in yellow. Click the globe icon next to the address and you'll be able to manually search for and select a matching location


# Finish up. The image here shows the final product, or you can visit: http://www.chautauquahomes.us/wikihow/FusionTables/ to see the live example.


#*If you feel like it, you can click on the "Configure Info Window" or "Configure Styles" links in order to customize the look and feel of the map markers and the message display window.
#  "Manually" moving a map marker.  If your map marker wasn't placed where you thought it should be, you are able to manually search the map for the exact location!  Visualize your fusion data as a Table, move your mouse cursor over the column that is used as the map location and you will see an image that resembles a globe.  Click it.


#  Use the Location Selector window to search for the exact location.  You will see a red marker for where the current location is set.


#  Use the text box to put in an address to search for a click the search button.  You will see green markers show on the map telling you  where Google thinks your location is.


#  Keeping changing your search until is displays a green marker where you want it, then click that green marker and select Use This Location.

Regards,

Bimo

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...