[GRASS-user] v.in.ascii in GRASS 6.4.0 RC5 - space delimited tables are not imported - issue solved

Hamish hamish_b at yahoo.com
Fri Oct 9 21:06:10 EDT 2009


Milan:
> Thanks to Martin Landa, the problem is solved: The space
> (delimiter) must be only one, more spaces between the items
> (columns) results in the error, so it is necessary to reduce
> the number of spaces to one.

right, because e.g. if the delimiter was a comma, and a field
were empty, ",," would denote the empty field. This is intended
behaviour. Alternate wild idea: try using fs=tab without touching
your data and see what happens.


you can pipe your data though "tr --squeeze-repeats ' '" to
cleanse it.


Hamish



      


More information about the grass-user mailing list