Page 1 of 6 123456 LastLast
Results 1 to 10 of 55

Thread: Google Earth Cache Builder

  1. #1
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38

    Lightbulb Google Earth Cache Builder

    Hey Guys (and Girls),

    I just wrote a basic win32 MFC app to aid in building caches in Google Earth. If anyone wants it they can download it at http://nwashor.com/downloads/GECacheBldr.exe.

    Like I said it's real basic... you give it a Lat and Lon of your NW corner. You give it the size in miles across and down (e/w and n/s). You also give it a speed factor (i use a 3, but feel free to change this from 1 and up). The larger the speed factor, the slower the application writes out a new KML file between every new point calculated.

    Then you set up Google Earth to read in the KML file as a network resource. Set it up to refresh every second and to fly-to the location. Enable the resource under Places, and run the app (you might need to run it once and kill it to create the KML file the first time, I could make this easier with an install shield if anyone has that software). The KML file is spit out into the directory that you run the executable from and is title CashBild.kml.

    There are a few more instructions in the about of the app.

    This is version 1, and is not coded super clean, so if it is doing stuff you don't like, just kill it (ctrl-alt-del -> taskmgr) and restart And yes, it will take over your computer when you run it (I'll throw it in a thread for the next release).

    This version does NOT work over the international dateline, nor the polar caps yet. This version DOES account for lines of longitude shrinking as you approach the polar caps (so if you choose a really large area, or an area near the caps, make sure you use the larger width of the area in miles).

    And yeah, I'm an American, so units are in miles.

    If you're playing with it and you notice something not functioning properly, let me know and I'll fix it.

    One final thing... you may need to download some .NET files for this to run as it was compile by VS.Net 2003.

    Nate

  2. #2
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    nice idea. I'll try this later.

    From your experience, how much can GE's 2G of cache hold? ie., what should be the size?
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

  3. #3
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38
    Quote Originally Posted by b8bboi
    nice idea. I'll try this later.

    From your experience, how much can GE's 2G of cache hold? ie., what should be the size?
    Well I'm doing the state of Rhode Island now, and when it's done I'll let ya know

  4. #4
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38
    Couple things I forgot to mention... you gotta zoom into the level of detail you desire (I don't output range in the KML file). It's not all that intuitive, but if you play around with it, you'll figure it out

    Nate

  5. #5
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38
    Oh yeah, and also, since it is constantly writing a file... if Google Earth tries to read the "network link" as the file is open for writing, GE asks you what to do... just select ignore future errors with the network resource. This happened to me after about 10 minutes, but could happen sooner or later than that in your experiences.

  6. #6
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Very interesting.
    I was able to do a manual build 2Gb file, and it a paint in the a$$.
    Will try later.
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  7. #7
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38
    Just updated it with an input for range.

    After experimenting a little, I realized giving the user control over the height of the camera would be useful, as GE seems to "drift" to a different height as it goes along over a long course of time. Also, turning off the "Terrain" layer may make it easier for you if you are in a rolling area.

    If you want to try it out, my coords for testing are:
    Lat: 42, 2, 0 N
    Lon: 72, 0, 0 W
    45 Miles East
    55 Miles South
    1250 Meters Range
    6 speed factor (1.5 seconds between writes).

    Hope this update is useful.

    Nate

  8. #8
    Low Bitrate briefnotion's Avatar
    Join Date
    May 2006
    Location
    LA
    Posts
    103
    Not sure I downloaded the correct prog. Recieved error, "This application has failed to start because MFC71D.DLL was not found. Reinstall ..."
    _______

    http://briefnotion.250free.com/ Im thinking I should have called it Google Earth Path Finder.

  9. #9
    Maximum Bitrate P3rv3rt B3ar's Avatar
    Join Date
    Jul 2005
    Location
    Funland
    Posts
    577
    It seems to me to that author compiled it with debug configuration and u dont have IDE in question in your system. So to get that version working try to scavenge it (dll)somewhere (www.dll-files.com for example) and if this is indeed the case author could compile it with release configuration. And next time do little it will get u far.

  10. #10
    Newbie njwashor's Avatar
    Join Date
    Mar 2005
    Location
    Ashaway, RI
    Posts
    38
    Yeah, I did compile in debug mode... I can compile it in Release for you all, but not sure if that will make it so you don't need the dlls. .Net apps generally require some dlls which are free to download. If you tell me all the dlls you need, I can post them in a zip with the EXE (as MS does allow this). Only problem is I won't know the DLLs necessary except if someone else tells me.

    So... I'll post a release copy and see if that fixes the problem. Gimme an hour from now as I have to take out some experimental code I was writing.

    Nate

Page 1 of 6 123456 LastLast

Similar Threads

  1. Finally my 2000 Toyota 4runner google earth equipped car puter
    By eacarrender in forum Show off your project
    Replies: 32
    Last Post: 05-31-2006, 09:48 PM
  2. Google Earth: How?
    By sux89 in forum MacCar
    Replies: 9
    Last Post: 03-15-2006, 09:05 PM
  3. Google Earth SKIN (in progress)
    By RPM_VR4 in forum SB Skins
    Replies: 6
    Last Post: 02-15-2006, 07:45 PM
  4. Embedding Google Earth to RR
    By Asskick in forum Road Runner
    Replies: 11
    Last Post: 02-10-2006, 10:44 AM
  5. Drop-down menus don't work? Read this!
    By gnomad in forum Announcements
    Replies: 0
    Last Post: 10-14-2005, 02:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •