[GRASS-dev] [GRASS GIS] #3520: colorize vector layers in GUI by default

#3520: colorize vector layers in GUI by default
----------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: unspecified
Keywords: vector, colors | CPU: Unspecified
Platform: Unspecified |
----------------------------+-------------------------
I added to GUI preferences new option to enable random colors for vector
map layers.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone:
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by martinl):

* Attachment "vect-randomColors.png" added.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by martinl):

* milestone: => 7.6.0

Old description:

I added to GUI preferences new option to enable random colors for vector
map layers.

New description:

I added to GUI preferences new option to enable random colors for vector
map layers.

[[Image(vect-randomColors.png)]]

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Description changed by martinl:

Old description:

I added to GUI preferences new option to enable random colors for vector
map layers.

[[Image(vect-randomColors.png)]]

New description:

I added to GUI preferences new option to enable random colors for vector
map layers (GUI Preferences -> Layers).

[[Image(vect-randomColors.png)]]

--

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by martinl):

Currently this option is disabled. For next main release 7.6 I would
suggest to enable it by default. Reasons:

* all vector maps displayed in black feature and grey area fill color
* most of users perform colorization after adding new layers to map
display
* colorization based on categories does not really influence display speed
so much, simple test below

{{{
$ v.info parcely -t | grep 'area'
areas=362508

$ time d.vect parcely

real 0m15.764s

$ time d.vect parcely -c
d.vect complete.

real 0m15.533s
}}}

What do you think?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by wenzeslaus):

I agree that the current default is not ideal. Preferred behavior probably
depends on the use case, but `-c` as default is quite different from what
everybody else does (so potentially it is unexpected): loading each vector
layer to map display with different single color versus different color
for each feature in the vector map/layer. I think it is a great checkbox,
just not sure if it should be enabled by default.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:4&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.6.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------

Comment (by martinl):

Replying to [comment:4 wenzeslaus]:
> I agree that the current default is not ideal. Preferred behavior
probably depends on the use case, but `-c` as default is quite different
from what everybody else does (so potentially it is unexpected): loading
each vector layer to map display with different single color versus
different color for each feature in the vector map/layer. I think it is a
great checkbox, just not sure if it should be enabled by default.

You are right, `-c` shouldn't be enabled by default. After some testing I
can say that it's messy in many cases (point layers for example). I am
leaving this ticket open in order to implement new GUI settings to
colorize map layers (not features) similarly as other software do.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:5&gt;
GRASS GIS <https://grass.osgeo.org>

#3520: colorize vector layers in GUI by default
--------------------------+----------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: task | Status: new
  Priority: normal | Milestone: 7.8.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: vector, colors
       CPU: Unspecified | Platform: Unspecified
--------------------------+----------------------------
Changes (by martinl):

* milestone: 7.6.2 => 7.8.0

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3520#comment:8&gt;
GRASS GIS <https://grass.osgeo.org>