KML to Lat/Long Array in Ruby
Several of the next applications of the qrpTracker codebase will require me to draw rudimentary maps on an LCD screen . I've been using Google Earth's polygon tool to make polygons that roughly correspond to, say, Prince Edward Island (in the small scale) and North and South America (in the large scale). Google Earth will allow you to copy the corresponding kml fragment. The following code snippet will turn that kml polygon into a C array of two point arrays, suitable for storing in your Arduino as Progmem.