Opened 6 years ago

Last modified 4 years ago

#3520 new task

colorize vector layers in GUI by default

Reported by: martinl Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: wxGUI Version: unspecified
Keywords: vector, colors Cc:
CPU: Unspecified Platform: Unspecified

Description (last modified by martinl)

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

Attachments (1)

vect-randomColors.png (5.7 KB ) - added by martinl 6 years ago.

Download all attachments as: .zip

Change History (13)

by martinl, 6 years ago

Attachment: vect-randomColors.png added

comment:1 by martinl, 6 years ago

Description: modified (diff)
Milestone: 7.6.0

comment:2 by martinl, 6 years ago

Description: modified (diff)

comment:3 by martinl, 6 years ago

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?

comment:4 by wenzeslaus, 6 years ago

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.

in reply to:  4 comment:5 by martinl, 6 years ago

Replying to 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.

comment:6 by martinl, 5 years ago

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:7 by martinl, 5 years ago

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

comment:8 by martinl, 5 years ago

Milestone: 7.6.27.8.0

comment:9 by neteler, 5 years ago

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:10 by neteler, 4 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:11 by neteler, 4 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:12 by neteler, 4 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.