[GRASSLIST:5643] v.digit

I would like to create vector map to use as a cutter for another vector
file. Basically, I'm trying to restrict my data queries etc to a
specific area. I have used v.digit to create the outline of the area,
but using v.cutter results in an empty vector layer. Can someone help me
with getting this right?

Jason

I found the source of the incorrect behavior of the
v.digit->Customize->Color menu. The color names do not match the colors
used in the display fo the following reason:

The colors used in the display are defined in the file
<grass_dir>/src/include/colors.h:
#define D_COLOR_LIST:
"red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,
aqua,grey"

The color names used in v.digit are defined in the file
<grass_dir>/src/mapdev/v.digit/color.c:
static char *color_names = {
    " ",
    " red",
    " orange",
    " yellow",
    " green",
    " blue",
    " indigo",
    " violet",
    " white",
    " black",
    " grey",
    " brown",
    "magenta",
    " aqua",
    " ",
    " "
};

To fix it, edit the color_names list to match the D_COLOR_LIST and
recompile v.digit.

---- Original Message -----
From: <cheg01@attbi.com>
To: <GRASSLIST@baylor.edu>
Sent: Sunday, February 23, 2003 2:10 AM
Subject: [GRASSLIST:5645] v.digit color mismatch found

I found the source of the incorrect behavior of the
v.digit->Customize->Color menu. The color names do not match the colors
used in the display fo the following reason:

The colors used in the display are defined in the file
<grass_dir>/src/include/colors.h:
#define D_COLOR_LIST:

"red,orange,yellow,green,blue,indigo,violet,white,black,gray,brown,magenta,

aqua,grey"

The color names used in v.digit are defined in the file
<grass_dir>/src/mapdev/v.digit/color.c:
static char *color_names = {
    " ",
    " red",
    " orange",
    " yellow",
    " green",
    " blue",
    " indigo",
    " violet",
    " white",
    " black",
    " grey",
    " brown",
    "magenta",
    " aqua",
    " ",
    " "
};

To fix it, edit the color_names list to match the D_COLOR_LIST and
recompile v.digit.

Sorry , I sent the CORRECTED version of color_names.
the original (incorrect) version is
static char *color_names = {
     " ",
     " white",
     " black",
     " yellow",
     " blue",
     " red",
     " green",
     " orange",
     " grey",
     " magenta",
     " aqua",
     " indigo",
     " violet",
     " brown",
     " ",
     " "
};