[GRASSLIST:8169] Re: v.in.ascii problem
Hamish
hamish_nospam at yahoo.com
Fri Sep 2 21:39:53 EDT 2005
> I know this is surely trivial but I got stuck at the very beginning.
> Why do I get this message even when trying to import an ascii file,
> as described in the manual?
>
> v.in.ascii input=/Users/Stefania/Almere/PERMANENT/points3d.txt
> output=mypoints3d1 format=point fs=| 'columns=x double, y double, z
> double, label_cz varchar(20), label_en varchar(20)' x=1 y=2 z=3 cat=0
> -z
> Maximum input row length: 101
> Maximum number of columns: 5
> Minimum number of columns: 0
>
> x column number > minimum last column number
You usually get this error when the field separator (fs=) is wrong.
Check your input file.
If run from the command line be sure to quote the | char otherwise the
shell interprets it as a pipe command. e.g. fs='|'
Hamish
More information about the grass-user
mailing list