[GRASS-user] v.in.ascii - put1 of 4 columns to 3D point file attribute

Hamish hamish_b at yahoo.com
Thu Apr 10 02:50:16 EDT 2008


Mark:
> the v.in.ascii was:
> v.in.ascii -z -n input=57697.txt output=lidar57697 format=point fs=,
> skip=0 {columns=code int} x=1 y=2 z=3 cat=0
> 
> which yeilds:
> maximum input row length: 43
> maximum number of columns: 4
> minimum number of columns: 4
> column: 1 type: double
> column: 2 type: double
> column: 3 type: double
> column: 4 type: integer
> 
> <ERROR> number of columns defined (1) does not match number of columns
> (4) in input.


The columns= option is to rename columns, not to say to include them or
not. So for v.in.ascii you need to name all 4, in order:
  columns='x double, y double, z double, code int'


Hamish


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the grass-user mailing list