This script reads waypoints from any number of EasyGPS binary .loc and Geocaching .loc files on the command line (wildcards supported in DOS/Windows), combines all those waypoints, and sends the result in Geocaching .loc format to standard output.
This is useful if you are using an older version of EasyGPS to edit waypoint files but wish to convert and merge waypoint files into the Geocaching .loc format for use in newer versions of EasyGPS.
Note: gcmerge.pl produced incorrect UTF-8 output until I installed XML::SAX. I do not know why it was broken before but this is worth a try if EasyGPS complains about invalid characters in the Geocaching .loc format output from this script.
Update 1/25/2010: Added support for reading GPX files.
Update 2/25/2010: Slurp in entire waypoint files and implement buffering ourselves for speed.
( Read more... )
This is useful if you are using an older version of EasyGPS to edit waypoint files but wish to convert and merge waypoint files into the Geocaching .loc format for use in newer versions of EasyGPS.
Note: gcmerge.pl produced incorrect UTF-8 output until I installed XML::SAX. I do not know why it was broken before but this is worth a try if EasyGPS complains about invalid characters in the Geocaching .loc format output from this script.
Update 1/25/2010: Added support for reading GPX files.
Update 2/25/2010: Slurp in entire waypoint files and implement buffering ourselves for speed.
( Read more... )