Hi,
in GRASS 6.0 cvs, there is a problem importing ascii coordinate pairs with v.in.ascii. Using cat test.txt | v.in.ascii fs='|' out=mymap doesn't work:
599251|4927066
599090|4926953
599097|4926472
599280|4925969
599863|4926391
599849|4926841
Error:
Maximum input row length: 16
Maximum number of columns: 2
Minimum number of columns: 2
ERROR: y column is not of number type
simply adding an ID (or another 3rd column) works:
1|599251|4927066
2|599090|4926953
3|599097|4926472
4|599280|4925969
5|599863|4926391
6|599849|4926841
cat test.txt | v.in.ascii fs='|' out=mymap
Maximum input row length: 18
Maximum number of columns: 3
Minimum number of columns: 3
column: 1 type: integer
column: 2 type: integer
column: 3 type: string length: 8
Building topology ...
6 primitives registered
Building areas: 100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids: 100%
Topology was built.
Number of nodes : 6
Number of primitives: 6
Number of points : 6
Number of lines : 0
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0
Why is this? Do I always need 3 columns?
ciao
Otto