[GRASS-de] Probleme mit v.in.ascii

Robert S.Nuske rnuske at gwdg.de
Do Mär 3 17:05:49 CET 2005


Hallo Liste, 
 
ich habe ein veritables Problem mit v.in.ascii auf debian, sarge. 
Der Versuch mit grass60 Punkte aus einer ascii Datei einzulesen resultiert in 
einem Vektorlayer der keine Punkte enthält. 
 
Ich habe verschiedene Trennzeichen getestet. Habe verschiedene Version 
von grass60 probiert, namentlich beta1, beta2 kompiliert von source; 
beta2-Paket von DebianGIS und cvs update von gestern. Aber alles mit 
dem selben Ergebnis. 
 
Das Einlesen dieser Datei mit s.in.ascii in grass54 funktioniert dagegen 
problemlos. 
 
Ich habe keine Ahnung, was ich verkehrt mache. 
Für Hinweise wäre ich sehr dankbar. 
 
gruss,  
  robert 
 
 
> more test.txt      #Koordinaten aus nördlichem Bereich von spearfish  
599251|4927066 
599090|4926953 
599097|4926472 
599280|4925969 
599863|4926391 
599849|4926841 
 
> v.in.ascii in=test.txt out=test1 
Maximum input row length: 15 
Maximum number of columns: 2 
Minimum number of columns: 2 
Building topology ... 
0 primitives registered 
0 areas built 
0 isles built 
Attaching islands: 
Attaching centroids: Topology was built. 
Number of nodes     :   0 
Number of primitives:   0 
Number of points    :   0 
Number of lines     :   0 
Number of boundaries:   0 
Number of centroids :   0 
Number of areas     :   0 
Number of isles     :   0 
 
 
 
GRASS 6.0.cvs (spearfish60):~ > g.gisenv set="DEBUG=5" 
 
GRASS 6.0.cvs (spearfish60):~ > v.in.ascii in=test.txt out=test2 
D2/5: Vect_open_new(): name = test2 
D1/5: Vect_set_thresh(): thresh = 0.000000 
D1/5: V1_open_new_nat(): name = test2 
D1/5: Vect_get_thresh(): thresh = 0.000000 
D1/5: dig__write_head() 
D1/5: write coor size (0) to head 
D2/5: coor body offset 14 
D3/5: dig_init_plus() 
D1/5: dig_spidx_init() 
D3/5: dig_cidx_init() 
D3/5: Vect_hist_command() 
D3/5: G_recreate_command() 
D5/5: Vect_hist_write() 
D5/5: Vect_hist_write() 
D5/5: Vect_hist_write() 
D5/5: Vect_hist_write() 
D5/5: Vect_hist_write() 
D4/5: row 1 : 599251|4927066 
D4/5: row 1 col 0: '599251' is_int = 1 is_double = 1 
D4/5: row 1 col 1: '4927066' is_int = 1 is_double = 1 
D4/5: row 2 : 599090|4926953 
D4/5: row 2 col 0: '599090' is_int = 1 is_double = 1 
D4/5: row 2 col 1: '4926953' is_int = 1 is_double = 1 
D4/5: row 3 : 599097|4926472 
D4/5: row 3 col 0: '599097' is_int = 1 is_double = 1 
D4/5: row 3 col 1: '4926472' is_int = 1 is_double = 1 
D4/5: row 4 : 599280|4925969 
D4/5: row 4 col 0: '599280' is_int = 1 is_double = 1 
D4/5: row 4 col 1: '4925969' is_int = 1 is_double = 1 
D4/5: row 5 : 599863|4926391 
D4/5: row 5 col 0: '599863' is_int = 1 is_double = 1 
D4/5: row 5 col 1: '4926391' is_int = 1 is_double = 1 
D4/5: row 6 : 599849|4926841 
D4/5: row 6 col 0: '599849' is_int = 1 is_double = 1 
D4/5: row 6 col 1: '4926841' is_int = 1 is_double = 1 
Maximum input row length: 15 
Maximum number of columns: 2 
Minimum number of columns: 2 
D3/5: Vect_build(): build = 4 
Building topology ... 
D2/5: dig_cidx_free() 
D3/5: dig_cidx_init() 
D3/5: Vect_build_nat() build = 4 
D1/5: Vect_Rewind(): name = test2 
Registering lines: D3/5: Vect_read_next_line() 
D3/5: V1_read_next_line_nat() 
D3/5: Vect__Read_line_nat: offset = 14 
0 primitives registered 
0 areas built 
0 isles built 
Attaching islands: 
Attaching centroids: Topology was built. 
D2/5: dig_cidx_sort() 
Number of nodes     :   0 
Number of primitives:   0 
Number of points    :   0 
Number of lines     :   0 
Number of boundaries:   0 
Number of centroids :   0 
Number of areas     :   0 
Number of isles     :   0 
D1/5: Vect_close(): name = test2, mapset = robert, format = 0, level = 2 
D1/5: get coor 
info:
/home/rnuske/luftbild/robert/grassdata/spearfish60/robert/vector/test2/coor 
D1/5: Info->size = 14, Info->mtime = 1109865812 
D1/5: Vect_save_topo() 
D1/5: Open 
topo:
/home/rnuske/luftbild/robert/grassdata/spearfish60/robert/vector/test2/topo 
D2/5: topo body offset 142 
D2/5: topo body offset 142 
D2/5: Vect_cidx_save() 
D2/5: Open 
cidx:
/home/rnuske/luftbild/robert/grassdata/spearfish60/robert/vector/test2/cidx 
D3/5: dig_write_cidx_head() 
D3/5: cidx body offset 13 
D3/5: dig_write_cidx_head() 
D3/5: cidx body offset 13 
D1/5: close history file 
D1/5: V1_close_nat(): name = test2 mapset= robert 
D1/5: get coor 
info:
/home/rnuske/luftbild/robert/grassdata/spearfish60/robert/vector/test2/coor 
D1/5: Info->size = 14, Info->mtime = 1109865812 
D1/5: dig__write_head() 
D1/5: write coor size (14) to head 
D2/5: coor body offset 14 
D1/5: Vect_get_thresh(): thresh = 0.000000 
D1/5: Vect_write_dblinks(): map = test2, mapset = robert 
D1/5: dbln 
file:
/home/rnuske/luftbild/robert/grassdata/spearfish60/robert/vector/test2/dbln 
D1/5: Dblinks written 
GRASS 6.0.cvs (spearfish60):~ >