Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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."

In reply to Google Earth Cache Builder by shotgunefx

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (8)
As of 2024-03-28 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found