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

2021-10-01 Thread Rich Shepard

On Fri, 1 Oct 2021, Stefan Blumentrath wrote:


Please check your "separator" settings. Default is pipe |, but your data
seems to be comma delimited.


Stefan,

In the GUI I selected 'comma', forgot to do so on the command line.
Regardless, the GUI didn't bring in the data. I'll check it again.

Thanks,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


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

2021-10-01 Thread Stefan Blumentrath
Hi Rich,

Please check your "separator" settings. Default is pipe |, but your data seems 
to be comma delimited.

Cheers
Stefan

-Original Message-
From: grass-user  On Behalf Of Rich Shepard
Sent: fredag 1. oktober 2021 18:07
To: grass-user@lists.osgeo.org
Subject: [GRASS-user] v.in.ascii column identifications

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

___
grass-user mailing list
grass-user@lists.osgeo.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgrass-userdata=04%7C01%7CStefan.Blumentrath%40nina.no%7Cfebb7f0f75b04a758b1008d984f57cf7%7C6cef373021314901831055b3abf02c73%7C0%7C0%7C637687012593647527%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000sdata=wPke%2FDQRpWHE0Xg6jZwhrh0XoVEOkj9ISz51fH6fXQg%3Dreserved=0
___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user


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

2021-10-01 Thread Rich Shepard

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

___
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user