http://qs321.pair.com?node_id=587039

On the heels of my media player, another handy tool for car pcs. A cache builder for Google Earth so you can use it offline.

Keep in mind this was made for people who are definitely not JAPHs to install, tinker with and use, hence no XML::Simple, etc
Usage: ge_cachbuild.pl -lat [pos] -lon [pos] -range [meters] -hkm [km] -vkm [ +km] -sleep [sec] -lat (Northwest corner in decimal degrees) ex: 42.832778 -lon (Northwest in decimal degrees) ex: -72.983889 -range (Range in meters) ex: 600 -hkm (Int number of kilometers to scan West to East) ex: 15 -vkm (Int number of kilometers to scan North to South) ex: 10 -sleep (Int number of seconds to sleep before moving), default 3
Code is here Version 1.02

Don't forget to fix the paths for $KML_FILE, $OVERLAY_FILE, $ICON, to fully qualified filenames

Feedback welcome, GPS tracker on it's way ;)
update
Bug fix! In my haste to clean it up, goofed up on it moving south after scanning :(

update
Version 1.02 - Added resume (see usage) and percentage to GE and output.

update
One more thing, I should have mentioned to go to your GoogleEarth settings and max your cache to 2GB, also, you'll fit more at 512x512 detail.

-Lee
"To be civilized is to deny one's nature."