Construct a Google Map from live data

Overview

Here's the scenario: you have some kind of geographically based data that you'd like to represent. i.e. houses that you've sold, parks located within 100 km of city center, etc.

Gather your data

Start by gathering the appropriate information into one spreadsheet. I'm going to use Google Docs for the sake of demonstrating this. I like to have columns like: Street Address, City, Province, Country, ZIP Code, Project Number, Description.

Format your data appropriately

Now depending on what kind of geocoding you're going to do, you will need the information in different formats. Sometimes you'll need a comma delimited address and nothing more, sometimes you'll need to prepend/append more fields (i.e. to set the color, icons, pop-out description, etc.). Basically use functions like CONCATENATE() to massage the fields that you have into the right output format.

A practical demonstration

I like to take photos and I like to walk both. I thought it would be interesting to have a map of all the city parks in one concise list. Perhaps then I could take a photo at each park and link back to the original map.

OK, so a couple Google searches reveals that http://www.city.pg.bc.ca/rec_culture/parks/list/ has the official list of Prince George parks.

Construct a Google Map

Now I can use the many different online geocoding services to create a Google Map of this. Let's continue below...

Geocode your data

There are lots of different geocoding services out there (google for "batch geocoding") but I generally like to use BatchGeo. Literally I take the contents of tab 3 above, copy and paste them into BatchGeo and click on Run Geocoder. Nothing more complicated than that.

Embed your data

http://www.batchgeo.com/map/35399fc2a34ff8cf609803cddf8494f2

Concluding

Now obviously you can do grossly more complicated things. You can have an image column with a URL to a photo, you can change icons. You can export to KML and then import back into Google Earth and plot from there. You can do time lapse mapping, plotting real pictures against satellite view, show a sequence of locations as street view locations, etc.