[GRASS-user] v.in.gpsbabel problem

Mike Dvorak mike at mikemath.net
Sun Jul 9 10:37:51 EDT 2006


Dear GRASS users,

I'm having a problem with v.in.gpsbabel for GRASS-6.1 (cvs, 24 Jun 2006)
on OS X.  The "gpsbabel" command fails with a syntax error initially,
which leads to all kinds of other errors in the script.  I tried copying
over the latest script version from CVS and it v.in.gpsbabel script
fails in the same way.  Here's the first part of the failing output:

Uploading Tracks from GPS
'style=/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/etc/grass_write_ascii.style'
is an unknown option to gpx.
/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/scripts/v.in.gpsbabel.r3:
line 459: ((: OFFSET=117-: syntax error: operand expected (error token
is "-")
tail: option requires an argument -- n
usage: tail [-F | -f | -r] [-b # | -c # | -n #] [file ...]
/Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/scripts/v.in.gpsbabel.r3:
line 459: ((: OFFSET=132-: syntax error: operand expected (error token
is "-")
tail: option requires an argument -- n
usage: tail [-F | -f | -r] [-b # | -c # | -n #] [file ...]
Attempting waypoint projection transform with cs2cs
Importing with v.in.ascii
Building topology ...
Registering lines:
3 primitives registered
Building areas:
v.in.gpsbabel.r3: line vector "prospect_park_r6 at PERMANENT" successfully
created
Creating new table..
Populating table with attributes..
DBMI-DBF driver error:
SQL parser error in statement:
INSERT INTO prospect_park_r6 VALUES (1, ' ',  ,  , ' ',  , )


I should also mention that I had to replace the "stat -c%s..." command
with "stat -fz..." to get it working on OS X too.  Can anyone help me
with this?  I'm trying to get a demo working for an open source GIS talk
I'm giving in a couple of weeks at the HOPE6 conference.  I wish that I
had a Linux box available to me, but unfortunately that's not the case.

Cheers,
-Mike





More information about the grass-user mailing list