Jump to content

Linux: Map Software For Arc Files


jeffk42

Recommended Posts

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. :blink:

Link to comment

Ooh that script excerpt is cool. :P 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}
}

Link to comment

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.

Link to comment

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?

Link to comment

OOH! Nevermind, I'm retarded.

 

Got it working. Thanks for the info again! :)

 

Turns out I forgot quotes as well as some other stuff. :smile:

 

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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...