[GRASS5] Fw: [bug #1197] v.digit problem: unlabeled lines invisible

cheg01 at attbi.com cheg01 at attbi.com
Tue Feb 25 11:03:22 EST 2003


This may not need to be fixed in 5.0 but here is the answer.

----- Original Message -----
From: "guest user via RT" <grass-bugs at intevation.de>
To: <cheg01 at attbi.com>
Sent: Sunday, February 23, 2003 5:09 PM
Subject: [bug #1197] (grass) Transaction (guest)


> this bug's URL: http://intevation.de/rt/webrt?serial_num=1197
>
> Mon, Feb 24 2003 02:09:21: Request 1197 was acted upon.
>
>  Transaction: Mail sent by guest
>
>        Queue: grass
>         Area: bug
>      Subject: [GRASSLIST:4072] v.digit problem: unlabeled lines invisible
>        Owner:
>   Requestors: cheg01 at attbi.com
>       Status: open
>
> -------------------------------------------------------------------------
> This is a matter of expectation vs. function. The v.digit->Windows
menu->Show
> Unlabeled Lines function only displays vectors that meet the following
> criteria:
>
> map->Line[line].att == 0 (i.e. no label)
> map->Line[line].type == 1 (i.e. type "LINE"
> from /src/include/vect/dig_defines.h)
>
> I expected to see unlabeled area edged (map->Line[line].type == 2) as
well.
>
> Possible solution are:
> 1) Add "||(type == AREA)" at line 100 of display_line.c to include
unlabeled
> area lines in the existing function.
>
> 2) Add a menu item to "Display unlabeled area edges" to Window or Toolbox
> menu by adding a "Display_uarealines" to globals.h and copying and
modifying
> the code for unlabeled lines in display_line.c, replot.c, states.c,
window.c.
> and menu.i (and others ?).
>
> There is a hidden Window menu item for:
>  { "u - Unlabeled Areas",              'u', -1 }
> This is the same function as the Display Unlabeled Areas item under the
> Toolbox menu. It shows lines associated with areas where Area[i]->att ==
0.
>
> Another hidden menu item on the Customize->Colors menu is
> { "U - Update the monitor",         'U', -1 }
> This redisplays the monitor with the new settings without leaving the
Colors
> menu - very handy for checking the results of changes. It seems to work
> perfectly fine, I think it should be added to the visible menu.
>
>
> -------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list