This package was initially inspired watching people using naviGPS units converting their fles to GPX for use with Openstreetmap one by one. This package offers batch conversion of only those files which haven't already been converted. A far more efficient method..
/navi-convert.zip /navi-convert/nmea.TXT /navi-convert/gps /navi-convert/navi-convert.bat /navi-convert/programs/gpsbabel/COPYING /navi-convert/programs/gpsbabel/libexpat.dll /navi-convert/programs/gpsbabel/README.magnav /navi-convert/programs/gpsbabel/README.psp /navi-convert/programs/gpsbabel/README.xmapwpt /navi-convert/programs/gpsbabel/README.mapconverter /navi-convert/programs/gpsbabel/README.igc /navi-convert/programs/gpsbabel/README.gui /navi-convert/programs/gpsbabel/README.contrib /navi-convert/programs/gpsbabel/AUTHORS /navi-convert/programs/gpsbabel/gpsbabel.html /navi-convert/programs/gpsbabel/gpsbabel.exe /navi-convert/programs/nmea2gpx /navi-convert/programs/copyright.txt /navi-convert/programs/windows-bash.exe /navi-convert/HOW-TO-USE.txt
Desktop\navi-convert\nmea.TXTYou can use the folder as your archive. When you double click navi-convert.bat, any NMEA file which hasn't already been converted will be converted and appear in the folder
Desktop\navi-convert\gpxOnce this is set up and you are used to the workflow, it is an extremely efficient way of converting files.
#!/bin/bash if [ -z $1 ] ; then echo "Takes a list of inout NMEA files, converts to GPX files." echo "usage: ./gpxconvert <nmea_input_files>" exit 0 fi for file in $@; do if [ ! -e $file ]; then echo "$file input file doesn't exist, Skipping." else if [ -e "$file.gpx" ]; then echo "$file.gpx already exists. Skipping" else echo "$file.gpx - converting" gpsbabel -i nmea -f $file -o gpx -F "$file.gpx" fi fi doneTo use, simply do
./gpxconvert /path/to/gpx/files/*.TXTThe script will generate a .gpx file for any file which doesn't already exist.