Skip to content

Commit

Permalink
Adding screenshots for issue #8428 (#8433)
Browse files Browse the repository at this point in the history
Fixes #8428
  • Loading branch information
selmaVH1 authored Aug 17, 2023
1 parent 0ab415a commit c7a693f
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions docs/training_manual/complete_analysis/analysis_exercise.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ The solution will involve:
Select the entry :guilabel:`WGS 84 / UTM zone 33S` (with EPSG code
``32733``).
#. Click :guilabel:`OK`

.. figure:: img/crs.png
:align: center

Setting up the CRS

#. Save the project file by clicking on the |fileSave|
:sup:`Save Project` toolbar button, or use the
:menuselection:`Project --> Save As...` menu item.
Expand Down Expand Up @@ -181,6 +187,12 @@ districts to the following ones:
#. Repeat the previous step for the remaining districts
#. Close the brackets

.. figure:: img/query_builder.png
:align: center

Query builder


The final query should be (the order of the districts in the brackets
does not matter)::

Expand Down Expand Up @@ -235,6 +247,11 @@ this area.
the :guilabel:`Clip Raster by Mask Layer` dialog
#. Save the map

.. figure:: img/clipped_r_filtered_v_reordered_l.png
:align: center

Map view with filtered vector, clipped raster and reordered layers

Align the rasters
......................................................................

Expand All @@ -256,6 +273,11 @@ First we change the resolution of our rainfall data to 30 meters
#. Make sure that |checkbox|
:guilabel:`Open output file after running algorithm` is checked

.. figure:: img/wrap_rainfall.png
:align: center

Wrap (Reproject) Rainfall_clipped


Then we align the DEM:

Expand Down Expand Up @@ -315,6 +337,11 @@ Raster layer symbology is somewhat different.
:guilabel:`White to Black`
#. Click :guilabel:`OK`

.. figure:: img/raster_symbology.png
:align: center

Raster symbology

The ``Rainfall30`` raster, if visible, should change colors,
allowing you to see different brightness values for each pixel
#. Repeat this process for the ``DEM30`` layer, but set the standard
Expand Down Expand Up @@ -355,6 +382,11 @@ that was written for this purpose.
#. Click :guilabel:`Run`
#. Wait for it to finish processing.

.. figure:: img/hillshade.png
:align: center

Raster analysis Hillshade

The new ``hillshade`` layer has appeared in the
:guilabel:`Layers` panel.

Expand Down Expand Up @@ -386,6 +418,11 @@ Slope
:guilabel:`Open output file after running algorithm` is checked
#. Click :guilabel:`Run`

.. figure:: img/slope.png
:align: center

Raster analysis Slope

The slope image has been calculated and added to the map.
As usual, it is rendered in grayscale.
Change the symbology to a more colorful one:
Expand Down Expand Up @@ -437,6 +474,11 @@ Reclassifying rasters
and file name.
#. Click :guilabel:`Run`.

.. figure:: img/raster_calculator_slope.png
:align: center

Raster calculator Slope

Now find the correct aspect (east-facing: between ``45`` and ``135``
degrees) using the same approach.

Expand Down Expand Up @@ -485,6 +527,11 @@ are satisfied.

Save the project.

.. figure:: img/aspect_slope_rainfall.png
:align: center

Map view where all three criteria are satisfied

The next criterion that needs to be satisfied is that the area must be
``250`` m away from urban areas.
We will satisfy this requirement by ensuring that the areas we compute
Expand All @@ -510,6 +557,11 @@ Finding rural areas
#. Click :guilabel:`OK` to close the :guilabel:`Query Builder` dialog.
The query should return one feature.

.. figure:: img/query_builder_zoning.png
:align: center

Query builder Zoning

You should see the rural polygons from the ``Zoning`` layer.
You will need to save these.

Expand Down Expand Up @@ -551,6 +603,11 @@ Creating a negative buffer
#. Remove the ``rural`` layer
#. Save the project

.. figure:: img/rural_buffer.png
:align: center

Map view with rural buffer


Now you need to combine your ``rural_buffer`` vector layer with the
``aspect_slope_rainfall`` raster.
Expand All @@ -576,6 +633,11 @@ Vectorizing the raster
#. Click :guilabel:`Run`
#. Close the dialog when processing is complete

.. figure:: img/vectorized.png
:align: center

Raster to Vector

All areas of the raster have been vectorized, so you need to select
only the areas that have a value of ``1`` in the ``suitable`` field.
(Digital Number.
Expand Down Expand Up @@ -672,6 +734,11 @@ Calculating the area for each polygon
each polygon in the vector layer and will then populate a new
integer column (called ``area``) with the computed value.

.. figure:: img/field_calculator_area.png
:align: center

Field Calculator

#. Click :guilabel:`OK`
#. Do the same thing for another new field called ``id``.
In :guilabel:`Field calculator expression`, type::
Expand All @@ -683,6 +750,11 @@ Calculating the area for each polygon
#. Click |toggleEditing| :sup:`Toggle editing` again, and save your
edits if prompted to do so

.. figure:: img/attribute_table.png
:align: center

Attribute table with area and id columns

Selecting areas of a given size
----------------------------------------------------------------------

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c7a693f

Please sign in to comment.