Tomtom Export Script

From Geoqo
Revision as of 15:12, 16 June 2008 by Yamar (Talk | contribs)
Jump to: navigation, search

This gives an example of exporting to a bunch of tomtom files based on type:

 # first, save what the user searched for
 %saveset tmp:fortomtoms
 
 # Then create a file per type:
 %foreach type Unknown Traditional Multi
   %search
   set:tmp:fortomtoms
   &&cache:subtype=%[type]
   %export
   system:cmd=gpsbabel -i geo -f %{file:loc} -o tomtom -F geocaches-%[type].ov2
 %endforeach

Then you should be able to run the script for a given search like:

 geoqo --nogui -s set:import:nearme -x FILENAME

And it'll put everything from the import:nearme set into .ov2 files for use on tomtoms. Don't forget to create .bmp files for the icons.

Hopefully this works ;-)

Personal tools