[GRASS-user] v.in.ascii column identifications

Rich Shepard rshepard at appl-ecosys.com
Fri Oct 1 09:06:48 PDT 2021


The 8.0.dev manual for v.in.ascii describes the column identifiers:
x=integer
     Number of column used as x coordinate (points mode)
     First column is 1
     Default: 1
y=integer
     Number of column used as y coordinate (points mode)
     First column is 1
     Default: 2
z=integer
     Number of column used as z coordinate (points mode)
     First column is 1. If 0, z coordinate is not used
     Default: 0

Entering v.in.ascii on the command line (lines wrapped in alpine):
v.in.ascii -z
in=~/projects/washington/project/data/bathymetry/coe/CL_33_LDYX_20210712_CS.xyz
out=lady_xsec_depths for=point x=1 y=2 z=3 col='x double precision, y double
precision, z integer' --o

yields this response from GRASS:
WARNING: ntokens: 1, xcol: 0, ycol: 1, zcol: 2
ERROR: Broken row 2: '7709581.42,697951.64,24'

When I change the command to match the above:
ERROR: Column numbers must not be negative
GRASS project/bathymetry:analyses > ERROR: Column numbers must not be negative

And when I try it again:
bash: GRASS: command not found

What might be going on here? Now neither the command line nor the GUI will
import an ASCII point file.

Rich



More information about the grass-user mailing list