[GRASS5] [bug #920] (grass) d.vect.line does not draw lines

Markus Neteler neteler at itc.it
Fri Feb 15 11:19:57 EST 2002


On Fri, Feb 15, 2002 at 08:14:00AM -0800, Eric G. Miller wrote:
> On Fri, Feb 15, 2002 at 11:59:05AM +0100, Request Tracker wrote:
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=920
> > -------------------------------------------------------------------------
> > 
> > Subject: d.vect.line does not draw lines
> > 
> > Platform: Linux/Intel
> > Linux distro: Debian
> > linux cpu: Intel (i486, i586, pentium ...)
> > Xwindows version: Xfree 4.0.x
> > Xwindows manager: WindowMaker
> > TclTk version: tcl/tk 8.2
> > grass downloaded at: Trento site
> > grass binary for platform: I compiled the sources myself
> > grass sources source: exp_snap_13202
> > c compiler name: gcc
> > 
> > When I launch 
> > 
> > d.vect.line mapname
> > 
> > I just get a line saying
> > 
> > drawing lines ... 0%
> > 
> > and then it exits without anything on the monitor.
> > 
> > With 
> > 
> > d.vect mapname
> > 
> > I see the map, just as with
> > 
> > d.vect.area mapname
> > 
> > I had to compile d.vect.line individually with gmake5/gmakelinks5 after the general compilation with make (see relevant message in grass-developers list), so maybe that causes the problem.
> 
> d.vect.line only draws labelled lines.  If the line doesn't have a
> category number, it doesn't get drawn.  This is so area boundaries may
> be distinguished from lines representing things.

Probably the module could output a message if *no* labeled lines
were found? Then the situation becomes clear to the user.

Markus



More information about the grass-dev mailing list