[GRASS-user] GUI vector import column format issue

lon,lat,depth <==
7719886.85,702082.80,21
7719910.22,702014.88,21

v.in.ascii -r input=/home/rshepard/projects/washington/project/data/bathymetry/coe/CL_34_WSHX_20210720_CS.xyz >output=wash_sounding_pts separator=comma
Scanning input for column types...
Skipping 452 of 1211 rows falling outside of current region
Number of columns: 3
Number of data rows: 1211
ERROR: 'x' column is not of number type, encountered: 'lon' <==

?

https://grass.osgeo.org/grass78/manuals/v.in.ascii.html

skip=integer
    Number of header lines to skip at top of input file (points mode)

?

Helmut

On Sat, 2 Oct 2021, Helmut Kudrnovsky wrote:

lon,lat,depth <==
skip=integer
   Number of header lines to skip at top of input file (points mode)

Helmut/Mortiz,

Yes, I realized that the header needed to be removed and I could change the
column names in the database. Removing the header made no difference.

I changed the separator from ',' to '|', but what I think made the
difference is that I noticed the data files were in DOS mode; \l\f rather
than Unix mode, \n. I ran both files through dos2unix and the GUI imported
them with no issues. I keep forgetting that in the US all government
agencies use only Microsoft software and all text files need to have their
line terminators changed.

Mea culpa,

Rich