Hi,
mysterious day: I used v.clean on a map to break/snap/rmdupl
and a topologically correct map is generated. But looking at
it, d.vect kills x0:
GRASS 6.3.cvs (spearfish60):~ > v.build myroads_net
Building topology ...
948 primitives registered
Building areas: 100%
0 areas built
0 isles built
Attaching islands:
Attaching centroids: 100%
Topology was built.
Number of nodes : 683
Number of primitives: 948
Number of points : 2
Number of lines : 946
Number of boundaries: 0
Number of centroids : 0
Number of areas : 0
Number of isles : 0
GRASS 6.3.cvs (spearfish60):~ > d.mon x0
using default visual which is TrueColor
ncolors: 16777216
Graphics driver [x0] started
GRASS 6.3.cvs (spearfish60):~ > d.vect myroads_net col=red
ERROR eof from graphics driver.
I did "make distclean; ..." before.
strace d.vect myroads_net col=red
...
_llseek(6, 147456, [147456], SEEK_SET) = 0
_llseek(6, 147456, [147456], SEEK_SET) = 0
_llseek(6, 147456, [147456], SEEK_SET) = 0
_llseek(6, 147456, [147456], SEEK_SET) = 0
read(6, "\252\327\353\307\353>\"A\274\222\250\200\301\311RA\v\2"..., 4096) = 139
_llseek(6, 147595, [147595], SEEK_SET) = 0
_llseek(6, 147595, [147595], SEEK_SET) = 0
_llseek(6, 147595, [147595], SEEK_SET) = 0
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
write(4, "\0\0\177\6\377\0\0\177\6\377\0\0\177\6\377\0\0\177\6\377"..., 1484) = 1484
read(5, "", 1) = 0
write(2, "ERROR eof from graphics driver.\n", 32ERROR eof from graphics driver.
) = 32
exit_group(1) = ?
Process 27067 detached
Not sure where "ERROR eof from graphics driver" originates from, probably
lib/raster/rem_io.c?
Markus
Markus