+jeffk42 Posted February 28, 2006 Share Posted February 28, 2006 Does anyone have any recommendations for mapping software in Linux? I'd like to start creating some arc files for when I'm travelling. Right now the only software I use is GPSBabel. Unfortunately, even WINE is pretty much out of the question since they don't currently support he x86_64 platform very well. Quote Link to comment
robertlipe Posted February 28, 2006 Share Posted February 28, 2006 There are a variety of mapping options, but I've found the most satisyfing to be no maps. See recent discussion at: http://sourceforge.net/mailarchive/forum.p...&forum_id=12066 Quote Link to comment
+jeffk42 Posted March 1, 2006 Author Share Posted March 1, 2006 Thanks for the link! Reading it now. Quote Link to comment
+jeffk42 Posted March 1, 2006 Author Share Posted March 1, 2006 Ooh that script excerpt is cool. Commence tinkering! FYI for anyone viewing this... posted by "Mike Hostetler" in the link above: [ ! -f ${ROUTEF} ] && { wget -O - "http://maps.google.com/maps?q=$FROM to $TO&output=js" | gpsbabel -i google -f - -x simplify,count=200 -o arc -F ${ROUTEF} } Quote Link to comment
robertlipe Posted March 1, 2006 Share Posted March 1, 2006 Though Mike appears to be a competent scripter, he didn't write the above. That fragment was written by someone with a little more GPSBabel experience than Mike... The basic idea is also presented in the Google Mapping Hacks book from O Reilley in a hack authored by yet a different card-carrying Babelhead. Quote Link to comment
+jeffk42 Posted March 1, 2006 Author Share Posted March 1, 2006 Thanks for the info Robert... I seem to be having a slight problem with this though... I was wondering if you could shed some light on it. To see exactly what was happening, I separated this out. Instead of piping it directly in, I tried this: $ wget -O tempgooglefile http://maps.google.com/maps?q=Orlando+FL+to+Fort+Myers+FL&output=js $ gpsbabel -i google -f tempgooglefile -x simplify,count=200 -o arc -F o_to_fm.arc But I'm doing something wrong, obviously. XML Reader:Parse error at 1: not well-formed (invalid token) and I get an arc file of 0 length. Am I doing something obviously wrong here? Quote Link to comment
+jeffk42 Posted March 1, 2006 Author Share Posted March 1, 2006 OOH! Nevermind, I'm retarded. Got it working. Thanks for the info again! Turns out I forgot quotes as well as some other stuff. wget -O - "http://local.google.com/local?f=d&hl=en&saddr=Orlando,+FL&daddr=Fort+Myers,+FL&output=js" | gpsbabel -i google -f - -x simplify,count=200 -o arc -F o_to_fm.arc 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.