[GRASS-user] Display point values

Rich Shepard rshepard at appl-ecosys.com
Thu Sep 30 12:36:23 PDT 2021


On Thu, 30 Sep 2021, Micha Silver wrote:

> Here's what I did. Notice that I added the "-z=3" option to v.in.ascii so
> that the new points vector is 3D. Then the "zcolor=" option to d.vect
> works.

Micha,

The command I used is:
v.in.ascii -zr in=~/projects/washington/project/data/bathymetry/coe/CL_34_WSHX_20210720_CS.xyz out=wash_transect format=point sep=comma columns='x double precision, y double  precision, elev=int' x=1 y=2 z=3
--o

It has the -z option specified. It also has 'z=3' at the end to indicate the
elevation values are the third column in the file.

If I replace -zn with -z=3 GRASS tells me:
ERROR: v.in.ascii: Sorry, <=> is not a valid flag
ERROR: v.in.ascii: Sorry, <3> is not a valid flag

And GRASS still tells me:
ERROR: Unable to open input file
        </home/rshepard/projects/washington/project/data/bathymetry/coe/CL_34_WSHX_20210720_CS.xyz>:
        No such file or directory

It's quite frustrating as it had no problem finding CL_33_LDYX_20210712_CS.xyz
in the same directory just before I entered the command for importing 
CL_34_WSHX_20210720_CS.xyz.

Thanks,

Rich



More information about the grass-user mailing list