darwinmay Posted September 3, 2006 Share Posted September 3, 2006 (edited) Someone on the local forums needed the page files for the Kansas DeLorme Challenge, so I thought I would take up the challenge of putting together the files myself. Going along fine, however I'd like to also have a .kmz with the page definitions (such as http://www.switchbacks.com/files/Geocaching/WDC/WDC-GE.kmz). Is this possible with gpsbabel (I'm using version 1.2.7 from the Ubuntu apt repositories)? The .txt files are located at blueninja.homelinux.org/caching/KSDCPages.zip. Edited September 3, 2006 by BlueNinja Quote Link to comment
robertlipe Posted September 3, 2006 Share Posted September 3, 2006 GPSBabel isn't where I'd start with that. This is a plain ole text conversion problem. Looking at the kmz file and the indifvidual Pages files (each appears to be five points to get a closed polygon) I'd just write a little shell or perl (or awk or python or whatever...) ditty that looped over them and then wrote out the appropriate Placemark/linearRing sections. (Hint kmz is gzipped kml....) Quote Link to comment
darwinmay Posted September 5, 2006 Author Share Posted September 5, 2006 (edited) Is there any reason why I couldn't convert them to a kml, then gzip into a kmz? I'm absolutely worthless at scripting Edited September 5, 2006 by BlueNinja Quote Link to comment
+user13371 Posted September 5, 2006 Share Posted September 5, 2006 (edited) any reason why I couldn't convert them to a kml, then gzip into a kmz?Well, if you have a KML there's no reason to make a kmz - Google Earth can read either. To make the KML files yourself, you wouldn't need MUCH scripting. I don't think GPSBabel would handle the text files in the form you have them, so that would be even MORE work. So either bite the bullet and learn SOME kind of scripting/programming language - or find someone else to do it for you.... No, I'm not volunteering But that's about the only reason I ever write a line of code anymore: Some odd little chore for which no other tool exists? Write one! Edited September 5, 2006 by lee_rimar Quote Link to comment
robertlipe Posted September 5, 2006 Share Posted September 5, 2006 I do custom conversion work. Mail me privately with detailed description of your needs for a quote. Quote Link to comment
darwinmay Posted September 5, 2006 Author Share Posted September 5, 2006 (edited) This may be incentive for me to get around to learning... Thanks for the offer, though! Edited September 5, 2006 by BlueNinja Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.