[GRASS-dev] [bug #5478] (grass) v.in.gpsbabel broken for attributes

Request Tracker grass-bugs at intevation.de
Mon Feb 5 18:15:37 EST 2007


this bug's URL: http://intevation.de/rt/webrt?serial_num=5478
-------------------------------------------------------------------------

Subject: v.in.gpsbabel broken for attributes

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources

Hi,

I tried v.in.gpsbabel today, but:

v.in.gpsbabel -t in=/dev/ttyUSB0 format=garmin out=mytracks
Downloading Tracks from GPS
'style=/home/neteler/soft/63grass_cvsexp/dist.i686-pc-linux-gnu/etc/grass_write_ascii.style' is an unknown option to gpx.
Attempting waypoint projection transform with cs2cs
Importing with v.in.ascii
WARNING: The vector 'mytracks' already exists and will be overwritten.
Building topology ...
104 primitives registered
Building areas:  100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids:  100%
Topology was built.
Number of nodes     :   198
Number of primitives:   104
Number of points    :   0
Number of lines     :   104
Number of boundaries:   0
Number of centroids :   0
Number of areas     :   0
Number of isles     :   0
v.in.ascii complete.
v.in.gpsbabel: line vector "mytracks at neteler" successfully created
Creating new table..
Populating table with attributes..
DBMI-DBF driver error:
SQL parser error in statement:
INSERT INTO mytracks VALUES (1, ' ',  ,  , ' ',  , )

Error in db_execute_immediate()

ERROR: Error while executing: "INSERT INTO mytracks VALUES (1, ' ', , , '
       ', , )
       "
Connecting attribute table to vector file..
WARNING: The table <mytracks> is now part of vector map <mytracks> and may
         be deleted or overwritten by GRASS modules
WARNING: Select privileges were granted on the table

Done.

Apparently the style file is no longer accepted in this form when 
downloading tracks/routes from GPS.
http://www.gpsbabel.org/htmldoc-1.3.2/fmt_gpx.html
http://www.gpsbabel.org/htmldoc-development/fmt_custom.html

Markus


-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list