I've been looking for the easiest possible way to import GPS data (from my Garmin 60) into GRASS (6.0.2) GIS. I've been using gpsbabel to get the data out of my GPS receiver into my computer, but none of the formats that gpsbabel is able to write is supported by grass's v.in.ogr importer. Both support TIGER, but gpsbabel's TIGER output doesn't contain the name of the waypoint, only the location. It looks like grass 6.1 has a v.in.gpsbabel, but I don't have that. So I think I'm stuck with some kind of ASCII format and v.in.ascii
One way to go about it seems to be:
gpsbabel -i gpx -f INPUTFILE.gpx -o tabsep -F - | sed -e 's/\t/|/g' | cut -d\| -f1-3,8-9,19 | sed -e 's/M$//' | v.in.ascii -z output=OUTPUTVECTOR columns="cat int, name varchar(20), desc varchar(100), y double, x double, z double" x=5 y=4 z=6 cat=1
