Create Google Maps screenshots at regular intervals
- by Dave Jarvis
Background
People are concerned that building a pipeline to the West Coast of Canada will increase the number of oil tankers, thus increasing the probability of a major oil spill, thereby creating an environmental catastrophe.
The AIS Live Ships Map website captures real-time Marine Traffic updates using a Google Maps interface. While it is possible to obtain data from an AIS data feed, often the feeds are either pay-for-use, or otherwise encumbered with license restrictions.
Problem
The AIS Live Ships website presents a map in the browser:
The map above has had its location interactively changed to focus on the area in question: the northern straight of Vancouver Island.
Question
How would you create a service that captures the map every 30 minutes and that could run, with neither user-intervention nor a significant memory footprint, for a few years?
Idea #1
Create a virtual machine.
Install and run a light-weight browser.
Use Shutter to take captures at regular intervals.
Idea #2
Use Python's Ghost Webkit to automate the captures.
Thank you!