Opened 3 years ago

Last modified 8 months ago

#3279 new enhancement

Add Region tab to the main GUI

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: major Milestone: 7.6.2
Component: wxGUI Version: svn-trunk
Keywords: g.region, extent, resolution, novice, beginner, user-friendliness Cc:
CPU: Unspecified Platform: Unspecified

Description

I suggest to add another tab to the Layer Manager which would handle (and show) all things related to the (current) computational region. The name I suggest for the tab is Region and the order:

  • Layers
  • [3D view]
  • Console
  • Region
  • Modules
  • Data
  • Python

I'm not sure how it should look like or how it should be updated (it can be modified from outside of the widget). There can be only basic functionality and button to start g.region (see Modules tab). For example, if the tab is active, the Map Display could active the "Show comp. extent" option. I'm attaching a screenshot of how this looks like in the QGIS GRASS plugin. I'm not sure about the aesthetics of it, but the functionality is probably at least the minimum of what we want. I'm not sure how nswe are useful but we can add raster and vector option and the alignment function (although they are probably better handled through Layers), -a flag, named regions ("bookmarking") and maybe other things handled from Map Display.

This may raise awareness of new users about computational region and encourage all users to remember it before running modules. There can be even a short explanation what does it do.

Problems:

  • Name: Region is not completely clear, but we decided to go with one word, so Computational Region is not an option. g.region would be less readable for novices and inconsistent.
  • Although for English there is still space even when 3D view is active, we may be running out of space for some languages.
  • How many of these tabs do we what to add (allowed to be added) there?
    • Spatial Database, Location, Mapset
    • Thing related to Map Display, Vector Digitizer, ... (as for 3D view)
    • General preferences which needs to be changed often (Map Display color, font, projection statusbar settings)
    • Documentation (Doc, Man)
    • R, Jupyter Notebook, ...

Attachments (3)

qgis_grass_plugin_region_tab.png (35.7 KB) - added by wenzeslaus 3 years ago.
Region tab in the QGIS GRASS plugin
grass_set_default_region_dialog.png (65.0 KB) - added by wenzeslaus 3 years ago.
Set default (computational) region extent and resolution dialog in GRASS GIS (after Location Wizard)
region_display.png (170.3 KB) - added by vincent 3 years ago.
greying out the space around region extent

Download all attachments as: .zip

Change History (14)

Changed 3 years ago by wenzeslaus

Region tab in the QGIS GRASS plugin

Changed 3 years ago by wenzeslaus

Set default (computational) region extent and resolution dialog in GRASS GIS (after Location Wizard)

comment:1 in reply to:  description Changed 3 years ago by martinl

Replying to wenzeslaus:

I suggest to add another tab to the Layer Manager which would handle (and show) all things related to the (current) computational region. The name I suggest for the tab is Region and the order:

strong +1

Changed 3 years ago by vincent

Attachment: region_display.png added

greying out the space around region extent

comment:2 in reply to:  description ; Changed 3 years ago by vincent

Replying to wenzeslaus:

This may raise awareness of new users about computational region and encourage all users to remember it before running modules.

In the same scope, what about greying out the space around the region extent ?

comment:3 in reply to:  description ; Changed 3 years ago by mlennert

Replying to wenzeslaus:

I suggest to add another tab to the Layer Manager which would handle (and show) all things related to the (current) computational region.

[...]

This may raise awareness of new users about computational region and encourage all users to remember it before running modules. There can be even a short explanation what does it do.

Nice idea !

As we are speaking about this: It would be great if the computational extent and resolution dialog would allow drawing the region extent interactively. I guess this would probably mean some call to OSM or similar in order to display a meaningful map at different zooming levels.

Problems:

  • Name: Region is not completely clear, but we decided to go with one word, so Computational Region is not an option. g.region would be less readable for novices and inconsistent.
  • Although for English there is still space even when 3D view is active, we may be running out of space for some languages.
  • How many of these tabs do we what to add (allowed to be added) there?
    • Spatial Database, Location, Mapset
    • Thing related to Map Display, Vector Digitizer, ... (as for 3D view)
    • General preferences which needs to be changed often (Map Display color, font, projection statusbar settings)
    • Documentation (Doc, Man)
    • R, Jupyter Notebook, ...

I think we should not overdo it with these tabs, or we should allow activating/desactivating (some of them). IMHO, the idea should not be to put all of GRASS GIS into wxGUI tabs ;-)

comment:4 in reply to:  2 Changed 3 years ago by wenzeslaus

Replying to vincent:

Replying to wenzeslaus:

This may raise awareness of new users about computational region and encourage all users to remember it before running modules.

In the same scope, what about greying out the space around the region extent ?

Please, create a separate ticket for it.

comment:5 in reply to:  3 Changed 3 years ago by wenzeslaus

Replying to mlennert:

As we are speaking about this: It would be great if the computational extent and resolution dialog would allow drawing the region extent interactively. I guess this would probably mean some call to OSM or similar in order to display a meaningful map at different zooming levels.

This may be better discussed in a separate ticket. There is a lot of details to discuss. The Region tab is integrated in GUI, so using Map Display seems to be the most straightforward option.

comment:6 in reply to:  3 Changed 3 years ago by wenzeslaus

Replying to mlennert:

Replying to wenzeslaus:

Problems:

  • How many of these tabs do we what to add (allowed to be added) there?
    • Spatial Database, Location, Mapset
    • Thing related to Map Display, Vector Digitizer, ... (as for 3D view)
    • General preferences which needs to be changed often (Map Display color, font, projection statusbar settings)
    • Documentation (Doc, Man)
    • R, Jupyter Notebook, ...

I think we should not overdo it with these tabs [...] the idea should not be to put all of GRASS GIS into wxGUI tabs

Agreed. And there is more danger... Workspace(s)/Projects, Mask

or we should allow activating/desactivating (some of them).

That's possible for some: Settings > Preferences > General > Hide 'X' tab where X is Modules or Python. The Data tab should be in this list as well and same for Region. We can even consider hiding the Console tab and show it automatically when an error is printed. And of course 3D view is there already only when needed.

comment:7 Changed 22 months ago by neteler

Milestone: 7.4.07.4.1

Ticket retargeted after milestone closed

comment:8 Changed 17 months ago by neteler

Milestone: 7.4.17.4.2

comment:9 Changed 14 months ago by martinl

Milestone: 7.4.27.6.0

All enhancement tickets should be assigned to 7.6 milestone.

comment:10 Changed 10 months ago by martinl

Milestone: 7.6.07.6.1

Ticket retargeted after milestone closed

comment:11 Changed 8 months ago by martinl

Milestone: 7.6.17.6.2

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.