@@ -3,6 +3,7 @@ title: "Get started with GRASS GUI"
33author : " Veronica Andreo"
44date : 2024-03-19
55date-modified : today
6+ lightbox : true
67format :
78 html :
89 toc : true
@@ -43,7 +44,7 @@ Just double click on the GRASS  icon.
4344You will get the GUI and terminal. You can use GRASS tools in either.
4445It's a matter of taste, task on hand and habit, too.
4546
46- ![ GRASS Graphical User Interface and terminal] ( images/grass_gui_first_time_and_cli_combined.png ) {width=60% fig-align="center" .lightbox }
47+ ![ GRASS Graphical User Interface and terminal] ( images/grass_gui_first_time_and_cli_combined.png ) {width=60% fig-align="center"}
4748
4849GRASS GUI has a single window layout by default, but it is also possible to
4950minimize and/or dock/undock the panels. On the right, you can find the ** data**
@@ -59,7 +60,7 @@ simple **Python console** where you can use the GRASS Python API.
5960::: {.callout-note}
6061See this example of the GRASS single window GUI with multiple map displays:
6162
62- ![ ] ( images/grass_gui_multiple_map_displays.png ) {.preview-image width=50% .lightbox }
63+ ![ ] ( images/grass_gui_multiple_map_displays.png ) {.preview-image width=50%}
6364:::
6465
6566## Step 3: Create a project
@@ -86,7 +87,7 @@ name, EPSG code or take it from your input data. Let's see a simple way to
8687create a project in GRASS GUI. You can either click over "Create new project"
8788in the info bar or use ![ ] ( images/project-add.png ) icon.
8889
89- ![ Create a new GRASS project] ( images/create_new_project_gui.png ) {width=75% .lightbox }
90+ ![ Create a new GRASS project] ( images/create_new_project_gui.png ) {width=75%}
9091
9192## Step 4: Import your data
9293
@@ -111,16 +112,16 @@ scenes that can be found
111112Note that we can import all files within a directory if we specify the
112113extension of such files, ` jp2 ` in this case.
113114
114- ![ ] ( images/import_raster.png ) {width=50% .lightbox }
115+ ![ ] ( images/import_raster.png ) {width=50%}
115116
116117In another example, we import a GeoPackage with different CRS. Data will be
117118automatically reprojected.
118119
119- ![ ] ( images/import_vector_with_reprojection.png ) {width=55% .lightbox }
120+ ![ ] ( images/import_vector_with_reprojection.png ) {width=55%}
120121
121122Maps will be added to the layer tree and displayed automatically.
122123
123- ![ ] ( images/raster_and_vector_imported.png ) {width=75% .lightbox }
124+ ![ ] ( images/raster_and_vector_imported.png ) {width=75%}
124125
125126## Step 5: Set the computational region
126127
@@ -139,30 +140,30 @@ smaller computational region allows you to test your algorithms and parameter
139140values without the need to clip input maps, so once you are happy with the
140141result, you can run the process for the whole raster extent.
141142
142- ![ ] ( images/region.png ) {width=60% .lightbox }
143+ ![ ] ( images/region.png ) {width=60%}
143144
144145The computational region can be changed interactively from the map display
145146by selecting a region with your mouse, or using the ` g.region ` tool both
146147from the GUI and command line.
147148
148149* Interactive:
149150
150- ![ ] ( images/set_region_interactively.png ) {width=65% .lightbox }
151+ ![ ] ( images/set_region_interactively.png ) {width=65%}
151152
152153* Using ` g.region ` from the contextual menu after right click on a layer:
153154
154- ![ ] ( images/grass_gui_set_region_contextual_menu.png ) {width=70% .lightbox }
155+ ![ ] ( images/grass_gui_set_region_contextual_menu.png ) {width=70%}
155156
156157* Using ` g.region ` from the main menu in the GUI:
157158
158- ![ ] ( images/set_region_gui.png ) {width=70% .lightbox }
159+ ![ ] ( images/set_region_gui.png ) {width=70%}
159160
160161Note how commands are formed when you select options in the GUI. If you use
161162the <Copy > button, you can then paste these in a text file and set the basis
162163of your protocol, which can then be generalized into a script or even your own
163164GRASS tool.
164165
165- ![ ] ( images/region_set.png ) {width=60% .lightbox }
166+ ![ ] ( images/region_set.png ) {width=60%}
166167
167168* From the console tab or in the terminal:
168169
0 commit comments