[GRASS-dev] [GRASS GIS] #1474: random color -c flag broken in d.vect
GRASS GIS
trac at osgeo.org
Mon Sep 3 14:03:26 PDT 2012
#1474: random color -c flag broken in d.vect
-------------------------+--------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: d.vect | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by martinl):
Replying to [comment:4 cmbarton]:
> This seems to be a global default chosen throughout all vector modules
that have the option of choosing layers. Where is it set for all of GRASS
7 vectors?
it's G_OPT_V_FIELD_ALL defined in gislib
source:grass/trunk/lib/gis/parser_standard_options.c#L468
Regarding `d.vect` we could use for `layer` option G_OPT_V_FIELD which
defines default answer as 1. Then layers different from '1' will be not
rendered by default. Or we could just fix `d.vect` to colorize vector
features based on layer '1' when `layer=-1` is entered.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1474#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list