[GRASS-dev] r.in.xyz: 'Ignore broken lines' flag added
Markus Neteler
neteler at osgeo.org
Fri Mar 21 07:34:54 EDT 2008
Hi,
I have added a flag to skip broken lines in r.in.xzy input.
Example:
GRASS 6.3.0svn (pat): > r.in.xyz p325100665.txt out=test fs=space --o
Scanning data ...
ERROR: Not enough data columns. Incorrect delimiter or column number? Found
the following character(s) in row 947993:
[^Z]
At this point it became time consuming when you have many files. In this example
it was the last line of the file.
Now, with -i, you can do:
GRASS 6.3.0svn (pat): > r.in.xyz p325100665.txt out=test fs=space --o -i
Scanning data ...
WARNING: Not enough data columns. Incorrect delimiter or column number?
Found the following character(s) in row 947993:
[^Z]
WARNING: Line ignored as requested
Writing to map ...
100%
r.in.xyz complete. 947982 points found in region.
Submitted as
http://trac.osgeo.org/grass/changeset/30675
Markus
More information about the grass-dev
mailing list