Monthly Archives: February 2013

Draggable AB Caribou Ranges

Image

I finally got around to experimenting with the new functionality of dragging polygons with the Google Maps API (the draggable map game everyone’s talking about can be found here). My map (here) is the result of thinking about draggable polygons, caribou ranges (shapefile downloaded from here, simplified and saved as KML in QGIS), and the Alberta Oil Sands/caribou interaction. My blog gets a lot of hits from people looking for how to parse KML into its coordinates to turn into polygons, as this map does. Check out the source code for the method I use to read the KML (or XML, really).

My sarcastic stream-of-thought: What’s the easiest way to avoid conflict between caribou and oil sands development? Separate the two. What’s the easiest way to separate the two? Drag the herd!

Tip, painfully learned: use the correct version of the API (currently “v=3.exp”) in order to use draggable option for polygons.

Note: doesn’t work in IE, any ideas?

Advertisements