Difference between revisions of "Destinator Resources"

From GeoWiki
Jump to: navigation, search
(How to do it)
m (Creating Custom CSV:)
Line 68: Line 68:
 
Next you need to go to GSAK > File > Export > Custom Export and create your export. My command line is:  
 
Next you need to go to GSAK > File > Export > Custom Export and create your export. My command line is:  
  
<nowiki><pre>
+
<pre><nowiki>
 
"C:\Program Files\GSAK\GPSBabel.exe" -N -i gpx -f "C:\Program Files\GSAK\temp\babel.gpx" -o xcsv,style="C:\Program Files\GSAK\destinatorXCSV.txt" -F "c:\My Documents\Geocaching\Destinator\Geocaches.csv"
 
"C:\Program Files\GSAK\GPSBabel.exe" -N -i gpx -f "C:\Program Files\GSAK\temp\babel.gpx" -o xcsv,style="C:\Program Files\GSAK\destinatorXCSV.txt" -F "c:\My Documents\Geocaching\Destinator\Geocaches.csv"
 
</nowiki></pre>
 
</nowiki></pre>
Line 78: Line 78:
 
The GSAK Export Macro component (I use these lines as part of a 100 line macro that exports HTML, GPX, Destinator files for various cache, shutterspot and winery subgroups in Melbourne, and optionally Sydney and Wollongong if I'm travelling up there)  
 
The GSAK Export Macro component (I use these lines as part of a 100 line macro that exports HTML, GPX, Destinator files for various cache, shutterspot and winery subgroups in Melbourne, and optionally Sydney and Wollongong if I'm travelling up there)  
  
<nowiki><pre>
+
<pre><nowiki>
 
# Create Destinator CSV Update file
 
# Create Destinator CSV Update file
 
EXPORT Type=CUS Settings="Destinator Geocaches"
 
EXPORT Type=CUS Settings="Destinator Geocaches"

Revision as of 15:21, 16 December 2005

Route Optimisation

Destinator's route optimising is limited to about 10 points to determine optimal route.


Displaying Caches via GSAK Export

GSAK can be used to send caches to Destinator.


How to do it

Recipe:

You need...

  • Destinator
  • Destinator Console 3.1 (or any version of it that has "Favourites Importer")
  • GSAK
  • A filtered set of Geocaches

Steps:

  • Filter the caches you want in GSAK (which I'm not going to explain here)
  • Export a Custom CSV file (see Creating Custom CSV below)
  • Using Destinator Console's "Favourites Importer" load the CSV files into Destinator

You only need to do the setups below once, and then from there the steps above can be completed whenever you want to export to Destinator. I have it exporting several different queries in the macro (see below) and have several Custom export settings saved for the different groups of Favourties.

Creating Custom CSV:

To create the Custom CSV, you first need to create a GPSBabel translation document.


# gpsbabel XCSV style file
#
# Format: Destinator 3.075 Favorites Importer

#
# Modified by Partic
#

DESCRIPTION Destinator Favourites

#
# FILE LAYOUT DEFINITIIONS:
#

FIELD_DELIMITER COMMA
RECORD_DELIMITER NEWLINE
BADCHARS ,"

# PROLOGUE Name, Description, Longitute, Latitude

#
# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE:
#

IFIELD SHORTNAME, "", "%s" # Name
IFIELD DESCRIPTION, "", "%s" # Description
IFIELD LON_DECIMAL, "", "%f" # Longitude
IFIELD LAT_DECIMAL, "", "%f" # Latitude 

Save this file as C:\Program Files\GSAK\DestinatorXCSV.txt

In the other Custom Export fields, you can set special tags to create the Cache name. I use "%name (%typ1)" which puts the Cache name, followed by the one character cache type code so you can see if you're driving past a Multi, Trad, Virtual etc when you spot the cache on the Destinator map.

Next you need to go to GSAK > File > Export > Custom Export and create your export. My command line is:

"C:\Program Files\GSAK\GPSBabel.exe" -N -i gpx -f "C:\Program Files\GSAK\temp\babel.gpx" -o xcsv,style="C:\Program Files\GSAK\destinatorXCSV.txt" -F "c:\My Documents\Geocaching\Destinator\Geocaches.csv"

This creates a file called "C:\My Documents\Geocaching\Destinator\Geocaches.csv". Change the various file names to where you would like the CSV file to be located.

Save the Custom Export Settings so you can use them in Macros. For the Macro below, I've called mine "Destinator Geocaches"

The GSAK Export Macro component (I use these lines as part of a 100 line macro that exports HTML, GPX, Destinator files for various cache, shutterspot and winery subgroups in Melbourne, and optionally Sydney and Wollongong if I'm travelling up there)

# Create Destinator CSV Update file
EXPORT Type=CUS Settings="Destinator Geocaches"

Finally, in Destinator Console, connect your PDA, then click on map, then "Favourites Importer". Browse for your CSV file location, pick the file, then Convert then Download the file.

Destinator Console then converts the CSV into the Favourites file, then downloads it onto the PDA - and then you can Destinate to Geocaches! Makes life so much more fun icon_cool.gif

For a garnish, you can actually create your own 16x16 Favourites .bmp icons.