[GRASS5] Re: v.in.garmin

Hamish hamish_nospam at yahoo.com
Mon Jan 24 23:23:59 EST 2005


> A problem with v.in.garmin has reappeared. With the latest cvs, I
> obtain the  following:

..
> -- GRASS 6.0.cvs:~ > v.in.garmin 'output=riferimento_latignano' 
> port=/dev/ttyS0 -w
> + '[' output=riferimento_latignano '!=' @ARGS_PARSED@ ']'
> + exec 
> g.parser
> /usr/local/grass6.0.cvs-i686-pc-linux-gnu-15_01_2005/scripts/v.in.gar
> min  output=riferimento_latignano port=/dev/ttyS0 -w
> + '[' @ARGS_PARSED@ '!=' @ARGS_PARSED@ ']'


... is that with the script starting with '#!/bin/sh -x' or something?

Anyway, does running this command come back as empty?

NAME=riferimento_latignano
g.findfile elem=vector file="$NAME" | grep ^file | cut -f2 -d=


..
> <riferimento_latignano> already exists! Aborting.
> + exit 1
> ========================================
> Tried with a nmber of different file names, to no avail.


I have now ripped out the "already exists" check in CVS.
Use --o if you need to overwrite.




> With the newly packaged grass (from DebianGIS repository), I obtain:
> ========================================
> v.in.garmin output=latignano port=/dev/ttyS0 -w 
> GPStrans (ASCII) - Version 0.39
> Copyright (c) 1995 by Carsten Tschach (tschach at zedat.fu-berlin.de)
> Linux/KKJ mods by     Janne Sinkkonen <janne at iki.fi> (1996)
> Copyright (c) 2000 German Grid by Andreas Lange
> <andreas.lange at rhein-main.de> Copyright (c) 1998,2000 Mayko-mXmap mods
> by Matthias Kattanek  <mattes at ugraf.com>
> Copyright (c) 2001 Development by Joao Seabra-CT2GNL
> <seabra at ci.AAC.uc.pt> Uploading Waypoints
> Attempting waypoint projection transform with cs2cs
> Importing Waypoints...
> Sorry, <catcol> is not a valid parameter
> ========================================
> Rather frustrating.


6beta1 was shipped with a broken v.in.garmin. [needed (null) -> "" update]



should work now after updating from CVS?


Hamish




More information about the grass-dev mailing list