I have just committed code, testo, and README for DeLorme .an1 format.
It's not perfect yet; it currently generates only default output (red
fat red lines) for non-an1 input. I'm still pondering how best to
values for the rich variety of parameters that appear in an .an1 file.
Also, we could do something with the list of GUIDs I have here to
descriptions a little better. At the moment, we don't fill in the icon
field on read, and we don't check it on write. We do propagate icons
input .an1 file to an output .an1 file, but that's more-or-less out-of-band.
One really cool thing that you CAN do, and something that's been asked
and on on the DeLorme forum, is merge drawing layers without losing any
color or formatting. And of course you can use all of the existing
with the objects from .an1 files, so you can simplify your lines or
One thing I do think I'll add soon is a "circle" option, which will
points as filled circles rather than as symbols. That will allow me to
do this (note that
this does NOT work yet):
gpsbabel -i gpx -f local_caches.gpx -o an1,circle=528f -F offlimits.an1
Alternatively, and somewhat cooler:
gpsbabel -i gpx -f local_caches.gpx \
-x stack,push,copy \
-x an1,circle=528f \
-x stack,pop,append \
-o an1 -F caches-and-moats.an1
Et voila! A drawing layer that has each cache marked with a little red
a 1/10-mile circle drawn around it.
This would require an "an1" filter that knows about the extra an1 data
modify it, but it allows for richer expression when used in conjunction
other existing filters.